save_ilo: R tools to manipulate ilo datasets code / label

Description Usage Arguments Value Specification Examples

View source: R/save_ilo.r

Description

save and open easily your dataset in an xls, csv, dta files format

Usage

1

Arguments

...

Specification of savinf format.

df

ilo tbl data frame

Value

external file open in temp workspace

Specification

specification allow for saving.

setting format .

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Not run:
### 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')
save_ilo(res = 'MyNewTab')
res %>% save_ilo(format = 'csv')
res %>% save_ilo(format = 'del')
res %>% save_ilo(format = 'rev')

### save multi shhet xls file
sum = res %>% count(time) 

save_ilo(sum = 'summary' , res = 'raw')

### save file on disk

save_ilo(res , path = 'D:/test.csv')

## End(**Not run**)

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