| iNZightMapPlot | R Documentation | 
Create iNZightMapPlot object
iNZightMapPlot(data, map, type, ...)
iNZightMapPlotRegion(
  data,
  map,
  by.data,
  by.map,
  simplification.level = 0.01,
  multiple.obs = FALSE,
  sequence.var = NULL,
  agg.type = "last"
)
| data | Dataset with values for rows of the map object | 
| map | An sf object containing a row for each feature of the map | 
| type | What type of map is being passed in. Only  | 
| ... | Extra arguments required for the type of map being created. | 
| by.data | Variable name in the dataset that will be matched to  | 
| by.map | Variable name in the map that will be matched to  | 
| simplification.level | How much should the map be simplified by? | 
| multiple.obs | Does the dataset have multiple observations for each region of the map (i.e. observations from multiple years) | 
| sequence.var | If  | 
| agg.type | If  | 
iNZightMapPlotRegion(): Constructs a iNZightMapPlot using region values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.