R/ccao_funs.R
ccao_download_model_input_data.RdDownloads one or more model input datasets referenced by a `run_id` in `model.metadata`.
ccao_download_model_input_data(
run_id,
file_keys,
s3_staging_dir = "s3://ccao-athena-results-us-east-1"
)Character `run_id` found in `model.metadata`.
Character vector of file keys to download. Valid keys are: `assessment`, `complex_id`, `land_nbhd_rate`, `land_site_rate`, `training`, `char`, `hie`, `condo_strata`.
S3 path to use for Athena query results. This is mainly used to pass checks in github.
If `file_keys` is a single key, returns a single DataFrame. If `file_keys` is a list, returns a dict of DataFrames keyed by file key.