View source: R/download_indicator_EUS.R
download_indicator_EUS | R Documentation |
From the Eurostat web site, a dataset is created whose structure is years by countries, possibly conditioned to gender, age class and other variables.
download_indicator_EUS(
indicator_code,
fromTime,
toTime,
gender = c(NA, "T", "F", "M")[1],
ageInterv = NA,
countries = c("BE", "DK", "FR", "DE", "EL", "IE", "IT", "LU", "NL", "PT", "ES", "AT",
"FI", "SE", "CY", "CZ", "EE", "HU", "LV", "LT", "MT", "PL", "SK", "SI", "BG", "RO",
"HR"),
rawDump = FALSE,
uniqueIdentif = 1
)
indicator_code |
the variable describing countries, chosen within the collection convergEU_glb()$metaEUStat$selectorUser. |
fromTime |
first year to be considered. |
toTime |
last year to be considered. |
gender |
which gender, one of c("T","F","M") for Total, Females, Males. |
ageInterv |
a string of character representing the age class to be considered as coded by Eurostat, for example 'Y15-74'. |
countries |
a collection of strings representing countries in the standard two letters format; the most important sets are stored as a global function convergEU_glb(), for example convergEU_glb()$EU27; if countries = NA, then all available countries are downloaded. |
rawDump |
if TRUE raw downloaded data are returned, otherwise filtered values are provided. |
uniqueIdentif |
identifiers of further conditional variables (1,2,...). |
a dataset (tibble) years by countries, possibly conditioned to gender, within the list as component named res. If rawDump is TRUE then bulk data are provided. The list component msg may contain auxiliary information on conditioning variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.