mapStyle: mapStyle

Description Usage Arguments Value

View source: R/mapStyle.R

Description

Creates and styles leaflet maps using the same style definition for uniform maps. More information on thematic domains and thematic flags can be found at the CDC website.

Usage

1
mapStyle(map, data, rpl, flag)

Arguments

map

A leaflet map object

data

The SVI shapefile from the CDC website

rpl

The thematic domain field from the SVI shapefile

flag

The thematic flag field from the SVI shapefile

Value

A styled leaflet map based on rpl and flag values


amywleung/svir documentation built on May 28, 2019, 4:56 p.m.