sf_NPR.DemersCartogram {tilegramsR}R Documentation

sf_NPR.DemersCartogram

Description

A 'sf' object where each polygon represents a state

A 'sf' object of centroids of each state

Usage

sf_NPR.DemersCartogram

sf_NPR.DemersCartogram.centers

Format

sf

Examples

## Not run: 
library(leaflet)
library(tilegramsR)
data <- sf_NPR.DemersCartogram
leaflet(data,
  options=leafletOptions(crs=leafletCRS("L.CRS.Simple"))) %>%
  addPolygons()

## End(Not run)

[Package tilegramsR version 0.2.0 Index]