download_indicator_EUS {convergEU} | R Documentation |
Download a dataset (tibble) from Eurostat.
Description
From the Eurostat web site, a dataset is created whose structure is years by countries, possibly conditioned to gender, age class and other variables.
Usage
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
)
Arguments
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,...). |
Value
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.