Skip to content

Commit 7aa6ee2

Browse files
committed
add data docs
1 parent 76e0220 commit 7aa6ee2

17 files changed

+8162
-11
lines changed

R/economiccomplexity-package.R

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,43 @@
55
#' @useDynLib economiccomplexity, .registration = TRUE
66
#' @keywords internal
77
"_PACKAGE"
8+
9+
#' World Trade Averages for the Period 1998-2000
10+
#'
11+
#' 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.
12+
#'
13+
#' @docType data
14+
#' @usage data(world_trade_avg_1998_to_2000)
15+
#' @format A data frame with 124,336 rows and 3 columns.
16+
#' @examples
17+
#' data(world_trade_avg_1998_to_2000)
18+
#' head(world_trade_avg_1998_to_2000)
19+
#' @keywords datasets
20+
"world_trade_avg_1998_to_2000"
21+
22+
#' World Trade Per-Capita GDP for the Period 1998-2000
23+
#'
24+
#' A data frame that summarizes the per-capita GDP of different countries. The unit is year 2000 USD.
25+
#'
26+
#' @docType data
27+
#' @usage data(world_gdp_avg_1998_to_2000)
28+
#' @format A data frame with 240 rows and 2 columns.
29+
#' @examples
30+
#' data(world_gdp_avg_1998_to_2000)
31+
#' head(world_gdp_avg_1998_to_2000)
32+
#' @keywords datasets
33+
"world_gdp_avg_1998_to_2000"
34+
35+
#' Example Outputs of the Functions within the Package
36+
#'
37+
#' List of different computations obtained by using the functions within the package.
38+
#'
39+
#' @docType data
40+
#' @usage data(economiccomplexity_output)
41+
#' @format Lists of vectors, matrices, and graphs.
42+
#' @examples
43+
#' data(economiccomplexity_output)
44+
#' economiccomplexity_output$balassa_index
45+
#' economiccomplexity_output$complexity_measures$complexity_index_country
46+
#' @keywords datasets
47+
"economiccomplexity_output"

docs/LICENSE.html

Lines changed: 133 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/economiccomplexity.html

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)