rdb_series {rdbnomics} | R Documentation |
Download list of series for datasets of DBnomics providers.
Description
rdb_series
downloads the list of series for
available datasets of a selection of providers from
DBnomics.
/!\ We warn the user that this function can be (very) long to execute. We remind
that DBnomics requests data from 63 providers to retrieve 21675 datasets for
a total of approximately 720 millions series.
Usage
rdb_series(
provider_code = NULL,
dataset_code = NULL,
dimensions = NULL,
query = NULL,
use_readLines = getOption("rdbnomics.use_readLines"),
curl_config = getOption("rdbnomics.curl_config"),
simplify = FALSE,
verbose = FALSE,
...
)
Arguments
provider_code |
Character string (default |
dataset_code |
Character string (default |
dimensions |
List or character string (single quoted) (default |
query |
Character string (default |
use_readLines |
Logical (default |
curl_config |
Named list (default |
simplify |
Logical (default |
verbose |
Logical (default |
... |
Additionals arguments. |
Details
By default, the function returns a nested named list of data.table
s
containing the series of datasets for providers from
DBnomics.
Value
A nested named list of data.table
s or a data.table
.
Author(s)
Sebastien Galais
See Also
rdb_providers
, rdb_last_updates
,
rdb_datasets
, rdb_dimensions
Examples
## Not run:
rdb_series(provider_code = "IMF", dataset_code = "WEO:2019-10")
## With dimensions
rdb_series("IMF", "WEO:2019-10", dimensions = list(`weo-country` = "AGO"))
rdb_series("IMF", "WEO:2019-10", dimensions = list(`weo-subject` = "NGDP_RPCH"), simplify = TRUE)
## With query
rdb_series("IMF", "WEO:2019-10", query = "ARE")
rdb_series("IMF", c("WEO:2019-10", "WEOAGG:2019-10"), query = "NGDP_RPCH")
rdb_series(provider_code = "IMF", verbose = TRUE)
options(rdbnomics.progress_bar_series = TRUE)
rdb_series(provider_code = "IMF", dataset_code = "WEO:2019-10")
options(rdbnomics.progress_bar_series = FALSE)
rdb_series(
provider_code = "IMF", dataset_code = "WEO:2019-10",
use_readLines = TRUE
)
rdb_series(
provider_code = "IMF", dataset_code = "WEO:2019-10",
curl_config = list(proxy = "<proxy>", proxyport = <port>)
)
## End(Not run)