Description Usage Arguments Value Examples
knoema package! This package works with datasets from knoema.com
1 2 3 4 5 6 7 8 9 |
dataset.id |
is Dataset's ID specified as a string |
selection |
is list where all the dimensions of the dataset are listed and a selection from them |
mnemonics |
are mnemonics values specified as a string separated by a semicolon |
type |
is optional. By default equals "ts". Other supported variants are "xts","zoo","DataFrame","MetaDataFrame","DataTable","MetaDataTable" |
host |
is optional. You can use "knoema.com" or other supported knoema's portals |
client.id |
is client id from knoema application |
client.secret |
is secret client code from knoema application By default uses public user for knoema.com By default the package allows you to work only with public datasets from the site knoema.com. If you want to work with private datasets or from other hosts, you need to set optional parameters host, client.id and client.secret You can get parameters client.id and client.secret after registering on the site knoema.com, in the section "My profile - Apps - create new" (or use existing applications) |
the list of timeseries in the selected format from the dataset
1 2 3 4 5 6 7 8 9 10 11 12 13 | Knoema("IMFWEO2017Oct", list(country = "512;914", subject = "NGDP_RPCH"),
client.id = "FzOYqDg",
client.secret="SPrvmY8eGRcGA")
Knoema("IMFWEO2017Oct", list(country = "512;914", subject = "NGDP_RPCH", frequency = "A"),
type = "xts",
client.id = "FzOYqDg",
client.secret="SPrvmY8eGRcGA")
Knoema("IMFWEO2017Oct", list(country = "512;914", subject = "NGDP_RPCH", timerange = "2010-2015"),
client.id = "FzOYqDg",
client.secret="SPrvmY8eGRcGA")
Knoema(mnemonics="512NGDP_A_in_test_dataset",
client.id = "FzOYqDg",
client.secret="SPrvmY8eGRcGA")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.