Skip to contents

Creates and registers all required subdirectories (inputs, outputs, working, report) for the weighting pipeline.

Usage

update_directories(settings)

Arguments

settings

list. Settings object to update.

Value

list. Settings object with all directory paths set.

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

Examples

update_directories(list(data_root = "test_cache"))
#> Error in update_directories(list(data_root = "test_cache")): could not find function "update_directories"