get_ilostat_dic: Read Ilostat Dictionary

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/get_ilostat_dic.R

Description

Downloads one ilostat dictionary from ilostat https://ilostat.ilo.org via bulk download facility https://ilostat.ilo.org/data/bulk/.

Usage

1
get_ilostat_dic(dic, lang = getOption("ilostat_lang", "en"))

Arguments

dic

A character, dictionary for the variable to be downloaded,

lang

a character, code for language. Available are "en" (default), "fr" and "es". Can be set also with options(ilostat_lang = 'fr'),

Details

For a given coded variable from ilostat https://ilostat.ilo.org/. The dictionaries link codes with human-readable labels. To translate codes to labels, use label_ilostat.

Value

tibble with two columns: code names and full names.

Author(s)

David Bescond bescond@ilo.org

References

See citation("ilostat") ilostat bulk download facility user guidelines https://www.ilo.org/ilostat-files/WEB_bulk_download/ILOSTAT_BulkDownload_Guidelines.pdf ilostat bulk download facility main page https://ilostat.ilo.org/data/bulk/

See Also

label_ilostat, get_ilostat.

Examples

1
2
3
4
5
6
7
## Not run: 
 tmp <- get_ilostat_dic("indicator")
 head(tmp)
 tmp <- get_ilostat_dic("classif1", lang = "fr")
 head(tmp)

## End(Not run)

Rilostat documentation built on July 8, 2020, 7:02 p.m.