importData | R Documentation |
Download and import a Eurostat dataset
importData(EurostatDatasetCode, filters = NULL)
EurostatDatasetCode |
A string (upper/lower-case difference is not relevant) with Eurostat dataset code name,
e.g. |
filters |
Optional: a list of atomic vectors. The names of the elements of the list should correspond to the
names of the dimensions of the dataset (defined in |
A Eurostat dataset as a ‘flat’ data.frame. A ‘flat’ dataset has all numeric values in one column, with each row representing one of the available combinations of all dimensions (e.g. if dimensions are: countries, years, sectors, and indicators, there can be a row for value added in retail in Germany in 2013).
## Not run:
# Full dataset import:
importData('nama_10_gdp')
# Import only a subset of a dataset:
importData('bop_its6_det',
filters = list(geo=c('AT','BG'),
TIME_PERIOD=2014:2020,
bop_item='SC'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.