makeBox: makeBox

Description Usage Arguments Value Examples

View source: R/makeBox.R

Description

Creates and styles plotly box plots using leaflet user click events. These boxplots visualize the spread of data for each of the thematic domains and adds a point indicating where a selected census tract falls within the nationwide dataset. This point updates dynamically based on click events.

Usage

1
makeBox(shp, uid)

Arguments

shp

The SVI shapefile from the CDC website

uid

The click event polygon id

Value

A styled group of boxplots using the SVI shapefile shp and click event polygon id uid

Examples

1
2
makeBox(shp = uploadShpFile(), uid = 62878)
makeBox(shp = uploadShpFile(), uid = event$id)

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