draw_statemap: Create a two maps of COVID-19, by count and by density of...

Description Usage Arguments Value

View source: R/graphics.R

Description

Create a two maps of COVID-19, by count and by density of confirmed cases.

Usage

1
draw_statemap(x = merge_census(), varname = "Confirmed", N = 1000)

Arguments

x

sf object of merged COVID-19 and census data

varname

character, the name of the variable to draw ala 'Confirmed', 'Recovered', 'Deaths' etc.

N

numeric, scaling for density. By default cases per 1000 people.

Value

a list of 2 ggplot2 graphics. Use patchwork to draw together ala result[[1]] + result[[2]]


BigelowLab/stcovid documentation built on May 1, 2020, 3:59 p.m.