Setup project subdirectories
update_directories.RdCreates and registers all required subdirectories (inputs, outputs, working, report) for the weighting pipeline.
Details
Ensures all scripts and chapters use consistent paths for I/O.
Creates default folder structure under data_root.
Adds subfolders for plots, models, pops, pums as needed.
Updates settings object with all directory paths.
Stops with error if any directory cannot be created.
See also
update_data_root(), scripts/000_run_weight_scripts.R
Other settings management:
check_write_to_db(),
get_settings(),
parse_code_root(),
parse_raw_data_root(),
parse_settings_path(),
set_defaults(),
update_data_root(),
update_settings_pums_vars()
Examples
update_directories(list(data_root = "test_cache"))
#> Error in update_directories(list(data_root = "test_cache")): could not find function "update_directories"