switch_ilo: R tools to manipulate ilo datasets code / label

Description Usage Arguments Value Specification Examples

View source: R/switch_ilo.r

Description

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.

Usage

1

Arguments

df

ilo tbl data frame to manipulate.

...

Specification of variables to get.

Value

a tbl data frame

Specification

others functions allow advanced manipulation.

To learn more about ilo, start with the online vignettes:

Examples

 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)

dbescond/ilo documentation built on Dec. 10, 2019, 10:01 a.m.