Resolve force_surveys identifiers to survey_id values
resolve_force_surveys.RdMaps a character vector of survey_id and/or pip_id identifiers to the
subset present in the module-filtered, latest-version inventory
(inv_svy_full). Lookup is first-by-survey_id membership, then by
pip_id reverse-map through the already-loaded master inventory. Unknown
identifiers are collected, not aborted.
Arguments
- force_surveys
Character vector of
survey_idand/orpip_ididentifiers, orNULL.- inv_svy_full
A
data.tableof the module-filtered, latest-version DLW inventory (already computed byvalid_dlw_load()).- dt_master
A
data.tableof the PIP master inventory, already loaded by the caller, orNULLwhen unavailable.- verbose
Logical. Print progress messages.
Value
A named list with character vectors:
survey_ids (resolved survey_ids present in inv_svy_full),
resolved_from_survey_id, resolved_from_pip_id, and unknown.
See also
Other pd_process_data pipeline:
add_attr(),
aux_hash_candidates(),
build_pip_inventory(),
create_attr(),
data_to_dt(),
filter_aux_data(),
filter_aux_inv(),
fix_year_var(),
get_aux_hashes(),
inv_dlw_load(),
inv_to_process(),
log_report(),
pd_aux_attr(),
pd_deflation(),
pd_run_pipeline(),
save_pip_data(),
survey_id_to_attr(),
valid_dlw_load()