visdat_: visdat_

Description Usage Arguments Value Examples

View source: R/choropleth.R

Description

Internal function. Prepares data for a choropleth leaflet map.

Usage

1
visdat_(dat, level = "us_county", vars = "n")

Arguments

dat

tibble.

level

either 'us_county' (contiguous us map on the level of counties), or 'world' (on the level of countries).

Value

a list object that can be passed to leaflet()

Examples

1
#

rushkin/bitsandends documentation built on Oct. 21, 2020, 11:43 a.m.