Description Usage Arguments Details Author(s) See Also Examples
Query data from ILOSTAT SDMX API
1  | getData(DSD, test = "-test")
 | 
DSD | 
 a datastructure definition identified by the triplet   | 
test | 
 internal ILO test parameter.  | 
Helper function to efficiently query data from ILOSTAT SDMX API.
ILO bescond
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21  | ################################## use to fetch data and metadata related
# example with attribute
res <- getData("YI_AFG_EMP_TEMP_SEX_AGE_NB/....")
# example without attribute
res <- getData("YI_AFG_ALL/......?detail=dataonly")
# example of last N data
res <- getData("YI_AFG_EMP_TEMP_SEX_AGE_NB/......?lastNObservations=1")   
# example of first N data
res <- getData("YI_AFG_EMP_TEMP_SEX_AGE_NB/......?firstNObservations=2")
# example with multi country
res <- getData("YI_ALL_EMP_TEMP_SEX_AGE_NB/.MEX+ESP.....")
# check availability of time series	
res <- getData("YI_FRA_EMP_TEMP_SEX_AGE_NB/......?detail=serieskeysonly")
### as from 2009
res <- getData("YI_ALL_EMP_TEMP_SEX_AGE_NB/......?startPeriod=2009-01-01&detail=serieskeysonly")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.