getCodelist: Query Data ILOSTAT

Description Usage Arguments Details Author(s) See Also Examples

Description

Query data from ILOSTAT SDMX API

Usage

1
getCodelist(codelist, lang = "en", name = FALSE, test = "-test")

Arguments

codelist

a codelist as returned by scheme="datastructure", dimension="codelist".

lang

return label in es, fr or en .

name

return just codelist name default FALSE.

test

internal ILO test parameter.

Details

Helper function to efficiently query data from ILOSTAT SDMX API.

Author(s)

ILO bescond

See Also

getData getDataStructure

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
################################# use to identify correct 'DSD'		 

# fetch collection define on ILOSTAT
res <- getCodelist(codelist = "CL_COLLECTION", lang ="en")	
					
# fetch country available on ILOSTAT
res <- getCodelist(codelist = "CL_COUNTRY", lang ="es")							

# fetch indicator define in YI collection (code, Label in french), also available en (English), es (Spanish)
res <- getCodelist(codelist = "CL_INDICATOR_YI", lang ="fr") 

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