knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

WrangleMACovidData

The goal of WrangleMACovidData is to create user-friendly maps and tables from Massachusetts Department of Public Health Covid-19 data. For now, the package can perform two tasks:

1) Generate choropleth maps by community with data by testing positivity rates in the past 14 days or average daily new known cases per 100K in the past 14 days

2) Generate a searchable, sortable HTML table of data by community.

Installation

Because the spreadsheet data format changes fairly frequently, I don't expect this package to ever be on CRAN. Instead, install fromGitHub with:

# install.packages("devtools")
devtools::install_github("smach/WrangleMACovidData")

Examples

To generate the HTML table, you just need to run generate_html_table_by_place("Weekly_Dashboard_Data.xlsx").

For information on creating a map, please see the how to make a map vignette. After the package is installed, run vignette("make-map", package = "WrangleMACovidData").



smach/WrangleMACovidData documentation built on Jan. 25, 2021, 9:08 a.m.