Description Usage Arguments Details Author(s) See Also Examples
Query data from ILOSTAT SDMX API
1 | getCount(DSD, test = "-test")
|
DSD |
a datastructure definition identified by the triplet |
Helper function to efficiently query data from ILOSTAT SDMX API.
ILO bescond
getCodelist
getDataStructure
getData
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ################################## use to check data available
# example with attribute
res <- getCount("YI_AFG_EMP_TEMP_SEX_AGE_NB/....")
# example without attribute
res <- getCount("YI_AFG_ALL/.....?detail=dataonly")
# example of last N data
res <- getCount("YI_AFG_EMP_TEMP_SEX_AGE_NB/.....?lastNObservations=1")
# example of first N data
res <- getCount("YI_AFG_EMP_TEMP_SEX_AGE_NB/.....?firstNObservations=2")
# example with multi country
res <- getCount("YI_ALL_EMP_TEMP_SEX_AGE_NB/.MEX+ESP")
# check availability of time series
res <- getCount("YI_ALL_EMP_TEMP_SEX_AGE_NB/.....?detail=serieskeysonly")
### as from 2009
res <- getCount("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.