Skip to content

Commit

Permalink
add data docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pachadotdev committed Dec 13, 2024
1 parent 76e0220 commit 7aa6ee2
Show file tree
Hide file tree
Showing 17 changed files with 8,162 additions and 11 deletions.
40 changes: 40 additions & 0 deletions R/economiccomplexity-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,43 @@
#' @useDynLib economiccomplexity, .registration = TRUE
#' @keywords internal
"_PACKAGE"

#' World Trade Averages for the Period 1998-2000
#'
#' A data frame that summarizes all the products that different countries exported to the rest of the world. This data uses the SITC revision 2 classification with four digits product codes. The unit is year 2000 USD.
#'
#' @docType data
#' @usage data(world_trade_avg_1998_to_2000)
#' @format A data frame with 124,336 rows and 3 columns.
#' @examples
#' data(world_trade_avg_1998_to_2000)
#' head(world_trade_avg_1998_to_2000)
#' @keywords datasets
"world_trade_avg_1998_to_2000"

#' World Trade Per-Capita GDP for the Period 1998-2000
#'
#' A data frame that summarizes the per-capita GDP of different countries. The unit is year 2000 USD.
#'
#' @docType data
#' @usage data(world_gdp_avg_1998_to_2000)
#' @format A data frame with 240 rows and 2 columns.
#' @examples
#' data(world_gdp_avg_1998_to_2000)
#' head(world_gdp_avg_1998_to_2000)
#' @keywords datasets
"world_gdp_avg_1998_to_2000"

#' Example Outputs of the Functions within the Package
#'
#' List of different computations obtained by using the functions within the package.
#'
#' @docType data
#' @usage data(economiccomplexity_output)
#' @format Lists of vectors, matrices, and graphs.
#' @examples
#' data(economiccomplexity_output)
#' economiccomplexity_output$balassa_index
#' economiccomplexity_output$complexity_measures$complexity_index_country
#' @keywords datasets
"economiccomplexity_output"
133 changes: 133 additions & 0 deletions docs/LICENSE.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/articles/economiccomplexity.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7aa6ee2

Please sign in to comment.