iplotMap: Choropleth map

Description Usage Arguments Value See Also Examples

View source: R/coin_resultsdash.R

Description

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.

Usage

1
iplotMap(COIN, dset = "Raw", isel)

Arguments

COIN

The COIN object, or a data frame of indicator data.

dset

The data set to plot.

isel

The selected indicator code or aggregate

Value

Interactive map generated by plotly.

See Also

Examples

1
2
3
4
# assemble ASEM COIN
ASEM <- assemble(IndData = ASEMIndData, IndMeta = ASEMIndMeta, AggMeta = ASEMAggMeta)
# map CO2 indicator
iplotMap(ASEM, dset = "Raw", isel = "CO2")

COINr documentation built on Nov. 30, 2021, 9:06 a.m.