get_ilostat_dic {Rilostat} | R Documentation |
Read Ilostat Dictionary
Description
Downloads one ilostat dictionary from ilostat https://ilostat.ilo.org via bulk download facility https://ilostat.ilo.org/data/bulk/.
Usage
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 |
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("Rilostat") ilostat bulk download facility user guidelines https://webapps.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
Examples
## Not run:
tmp <- get_ilostat_dic("indicator")
head(tmp)
tmp <- get_ilostat_dic("classif1", lang = "fr")
head(tmp)
## End(Not run)