Compiles all files from BHPS and UKHLS into one file
Usage
usoc_compile(
directory,
extra_mappings = NULL,
save_variables_report = TRUE,
save_to_folder = FALSE,
file = "indresp"
)Arguments
- directory
Directory with
bhps/andukhls/- extra_mappings
function with extra columns to compile
- save_variables_report
Save a csv with a summary of variables?
- save_to_folder
If TRUE, will save to the
DATA_DIRECTORYenvironment variable if present- file
Which file of the usoc data to compile? By default
indresp, but also works on youth, child, etc.