View source: R/Micro_rebuild_series.r
Micro_rebuild_series | R Documentation |
From Master_x rebuild time series by copy readMe, do and fwk files, then run do file and get ILO.dta and FULL.dtaand
Micro_rebuild_series(
master_id = "all",
ref_area = NULL,
source = NULL,
time = NULL,
clean = TRUE,
timefrom = NULL,
timeto = NULL,
add_master = FALSE,
freq = "all",
CMD = FALSE,
EUROSTAT = NULL
)
master_id |
character ie. '1' for working with master_1 and copy_1. Default = 'all', could be also '12' for master 1 and 2. |
ref_area |
character for selection of country (iso3 code), mandatory. |
source |
character for selection of source (as ilo micro spelling, ie. LFS), mandatory. |
time |
, character, time use to rebuilt a specific dataset, default NULL, means all time will be takeinto account, option. |
clean, |
if TRUE delete files contained in the rebuild folder (not ORI repo), default TRUE. |
timefrom |
query to reduce time as from starting year timefrom. |
timeto |
query to reduce time as from ending year timeto. |
add_master |
if true rebuild also the master dta files, else only copy. |
freq |
if "A" apply only to annual dataset , default "all". |
CMD |
, default FALSE, if true return str with cmd line for all Published and Ready Country/Source |
EUROSTAT |
, default NULL, coudl be "EULFS" or "EUSILC" |
ILO / bescond
## Not run:
## some example
Micro_rebuild_series(master_id = '1', ref_area = 'USA', source = 'CPS', time = '2020',freq = "A")
Micro_rebuild_series(master_id = '1', ref_area = 'PHL', source = 'LFS') # Master 1
Micro_rebuild_series(master_id = '12', ref_area = 'PHL', source = 'LFS') # Master 1 and Master2
Micro_rebuild_series(ref_area = 'PHL', source = 'LFS', add_master = FALSE) # from all Masters
# run all in parallel
cmd <- Micro_rebuild_series(CMD = TRUE)
run_parallel_ilo(cmd)
## End(**Not run**)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.