down_lo_EUS {convergEU} | R Documentation |
Download a dataset (tibble) from Eurostat.
Description
From the Eurostat web site, a dataset is created whose structure is time by countries, possibly conditioned to gender, age class and other variables. All indicators are supported and, after downloading, data are not filtered by country members (geo) and/or EU clusters.
Usage
down_lo_EUS(
indicator_code,
fromTime,
toTime,
gender = c(NA, "T", "F", "M")[1],
ageInterv = NA,
rawDump = FALSE,
uniqueIdentif = 1
)
Arguments
indicator_code |
defined by Eurostat as id. |
fromTime |
first year to be considered. |
toTime |
last year to be considered. |
gender |
if available, the gender of interest c("T","F","M") for Total, Females, Males. |
ageInterv |
if available, a string of character representing the age class to be considered as coded by Eurostat, for example 'Y15-74'. |
rawDump |
if TRUE raw downloaded data are returned, otherwise filtered values are provided. |
uniqueIdentif |
identifiers of further conditional variables (1,2,...). |
Details
It is up to the user to proceed with further filtering/selection so that the desired collection of member states is obtained.
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.
References
Examples
## Not run:
myDF1 <- down_lo_EUS(indicator_code = "lfsa_ergaed",
fromTime = 2005,
toTime = 2015,
gender= "F",
ageInterv = NA,
rawDump=FALSE,
uniqueIdentif = 1)
myDF2 <- down_lo_EUS(indicator_code = "lfsa_ergaed",
fromTime = 2005,
toTime = 2015,
gender= "M",
ageInterv = "Y15-64",
rawDump=FALSE,
uniqueIdentif = 3)
## End(Not run)