View source: R/model-downscale.R
extract_global_data_to_df | R Documentation |
Simple wrapper function to extract global data (region == "All") from list of model output data. Returns global-only
data if executed after (remove_redundant_alls
), as called from
(prepare_preprocessed_data
)
extract_global_data_to_df(
model_data,
input_region_col = "Region",
output_region_col = "Region",
...
)
model_data |
list of model-specific data frames from which to extract the global data |
input_region_col |
name of the region column in the input data |
output_region_col |
name of the region column in the output (return) data |
Modeling teams may provide some data at the global level only, i.e., with no regional detail available. Such data is neither downscaled to countries/regions nor dropped. This function generates a data frame with global-only data from all models that can be binded to other data frames with regional detail.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.