addLabel: Query Data ILOSTAT

Description Usage Arguments Details Author(s) See Also Examples

Description

Query data from ILOSTAT SDMX API

Usage

1
addLabel(df, Lang = "en", Drop = FALSE)

Arguments

df

a dataframe comming from getData function.

Drop

code, default = FALSE .

lang

character define one of the 3 official ILO language en, fr, es.

Details

Helper function to efficiently query data from ILOSTAT SDMX API.

Author(s)

ILO bescond

See Also

getData getCodelist getDataStructure

Examples

1
2
3
4
5
6
7
8
################################## fetch data and add labels

# example with attribute
res <- getData("DF_YI_AFG_EMP_TEMP_SEX_AGE_NB/....")
res_label <- AddLabel(res)
# example data only
res <- getData("DF_YI_AFG_ALL/.....?detail=dataonly")
res_label <- AddLabel(res)

dbescond/Artemis documentation built on May 15, 2019, 1:21 a.m.