This repository contains data and graphs about Minnesota's COVID-19 outbreak, along with code to generate it.
Data here is released under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license. That means you are free to use the data for any noncommercial purposes, provided you give reasonable credit to MPR News, and maintain this license on any alterations you make to the material. Code here is available under the MIT License.
See a dashboard with current data and charts tracking Minnesota's COVID outbreak
Download raw data showing Minnesota's COVID-19 statistics from the start of the pandemic:
- Daily data by actual date (the date an event such as a test, hospitalization or death actually occurred)
- Daily data by report date (the date the Minnesota Department of Health reported data to the public)
- Seven-day rolling averages by actual date
- Seven-day rolling averages by report date
Download data showing Minnesota's vaccination rates from early 2021:
- Total doses administered, by type
- Number of people vaccinated, by age
- Number of people vaccinated, by gender
- Number of people vaccinated, by county (note: this file is large)
- Percent of age groups vaccinated, by county
Download data showing cases (by report date) by county (these files are large):
- Data in a long form (with one row per county per day)
- Data in a wide form (with one row per county and one column per day)
Download data showing how Minnesota's actual-date COVID-19 stats have evolved with each day's report from the Minnesota Department of Health (these files are large):
Download other data:
- Data on Minnesota's hospital capacity
- Cases by age group by report date
- Cases by racial or ethnic group by report date
This repository is currently maintained by David H. Montgomery. Pull requests from the community are welcome.
The data and charts here are primarily obtained and generated via code in the R programming language. Scripts and RMarkdown files are located in the R folder.
generate-graphs.Rmd
is the primary file for generating this data each day. It links to separate scripts that scrape data off the Minnesota Department of Health website and produce graphs.