View source: R/model-downscale.R
load_country_region_mappings | R Documentation |
Returns a list of data frames, each named according to the data source/model, each of which has two columns: iso and region.
load_country_region_mappings(
model_data_folder = NA_character_,
model_names = NA_character_,
item_map_name = "item",
...
)
model_data_folder |
folder where the pre-processed model output data is located. If NA, this will return a list with a single internal (included with the package) country-to-region mapping table for iTEM project regions. |
item_map_name |
the name of the dataframe with the iTEM project country-to-region mapping |
This function is designed to return country-to-region mapping assignments as required by other functions in the package. If a model data folder is provided, the function requires that the mapping lists be within this folder as model/regions.yaml. If no such folder is provided, then the returned list will only have the internal (i.e., this project's) country-to-region mapping.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.