library("ieeecomtrade") library("devtools")
This is to document how the keating_1999
comtrade object is constructed and put into the package's data.
First, let's create the constituent elements:
config <- ct_example("keating_1999.CFG") %>% ct_read_config() data <- ct_example("keating_1999.DAT") %>% ct_read_data_config(config)
Next, construct the comtrade object:
keating_1999 <- comtrade(config = config, data = data) print(keating_1999)
Finally, write to package-data:
use_data(keating_1999, overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.