Description Usage Arguments Value Specification Examples
ilo package provides a flexible grammar of ilo data manipulation. Associate with dplyr, tidyr and others packages developped by Hadley Wickham & Co, it provide a faster way to work labour statistics from the ilo.
1 | switch_ilo(df, ...)
|
df |
ilo tbl data frame to manipulate. |
... |
Specification of variables to get. |
a tbl data frame
others functions allow advanced manipulation.
version
: return data frame with classif version code,
keep
: keep code when label is ask,
To learn more about ilo, start with the online vignettes:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ### quarterly female unemployed as from 2000 in united states
res <- get_ilo(collection = 'STI',
freq = 'Q', ref_area = 'USA',
indicator = 'UNE_TUNE_SEX_AGE_NB',
timefrom = '2000', sex = 'F', classif1 = 'AGGREGATE_TOTAL')
res %>% switch_ilo(keep)
### get version code
res %>% switch_ilo(version)
### get label of collection and contry only (don't keep code)
res %>% switch_ilo(collection, ref_area)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.