Joins GCAM data from rgam query and inner joins it to spatial data provided by the user. Note: due to conducting an inner join, only the keys that are present in both datasets will be represented.
1 | join_gcam(mapdata, mapdata_key, gcam_df, gcam_key)
|
mapdata |
The sf object containing the spatial data and a tuple identifier that can be referenced in the gcam_df data frame. |
mapdata_key |
Name of the field having a tuple identifier that can be referenced in the gcam_df data frame. |
gcam_df |
The GCAM data frame provided from the user. This is usually generated from
an |
gcam_key |
Name of field having a tuple identifier that can be referenced in the mapdata data frame. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.