Description Usage Arguments Value See Also Examples
View source: R/coin_resultsdash.R
Generates an interactive choropleth map of specified indicator data. Only works on national level data (i.e. one point per country), with countries labelled by ISO alpha-3 codes. This function is simply a quick wrapper for the plotly choropleth map function.
1 | iplotMap(COIN, dset = "Raw", isel)
|
COIN |
The COIN object, or a data frame of indicator data. |
dset |
The data set to plot. |
isel |
The selected indicator code or aggregate |
Interactive map generated by plotly.
iplotBar()
bar chart of indicator or aggregate
resultsDash()
interactive dashboard of indicator data
1 2 3 4 | # assemble ASEM COIN
ASEM <- assemble(IndData = ASEMIndData, IndMeta = ASEMIndMeta, AggMeta = ASEMAggMeta)
# map CO2 indicator
iplotMap(ASEM, dset = "Raw", isel = "CO2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.