Update PopulationSim settings for additional geographies
popsim_settings_updates.RdUpdates the PopulationSim settings list to include additional geographies and control tables based on project targets. Use when extending PopulationSim to new regions or custom controls.
Details
Loads default PopulationSim settings if
popsim_settingsis NULL.Scans
settings$targetsfor new geographies and adds them togeographiesandinput_table_list.For each target, adds a control table if not present.
Table names:
<geo>_control_data, filenames:control_totals_<geo>.csv.
Applies manual overrides from
settings$popsim_setting_updatesif present.Returns the updated settings list for PopulationSim.
Assumes input is a list; does not modify by reference.
Error handling: checks for NULL and missing keys; no side effects.
Settings
targets (direct): list of target configs, each with
geography(character).popsim_setting_updates (optional): manual overrides for PopulationSim settings.
See also
popsim_settings_defaults, popsim_make_settings
Other PopulationSim IO:
popsim_make_control_config(),
popsim_make_geoxwalk(),
popsim_make_input_data(),
popsim_make_settings(),
popsim_make_weights(),
popsim_search(),
popsim_search_stats()