covid19-r
This repo links to a collection of analyses on and representations of COVID19 data in R. Inclusion on the list does not mean the analysis was verified by me or that I endorse the findings. It should also be noted that some of the analysis / data might be out of date, so these should not be viewed, by default, as current findings.
I'm collecting them as they get posted online so that I can come back to them later to develop educational examples based on theses data. I should also note that one should think about using these as class examples thoroughly -- the situation is affecting all of us (and our students) greatly and it's possible some students are personally affected by the pandemic.
Subheadings are in flux as of now, as more analyses get added I might recategorize them.
If you have examples to add, please open an issue or make a pull request.
Blog posts
- Simulating COVID-19 interventions with R
- Analysing COVID-19 (2019-nCoV) outbreak data with R - part 1
- Analysing COVID-19 (2019-nCoV) outbreak data with R - part 2
- Modelling the effects of public health interventions on COVID-19 transmission using R - part 1
- Modelling the effects of public health interventions on COVID-19 transmission using R - part 2
- COVID-19: The Case of Germany
- Map Visualization of COVID-19 Across the World with R
- COVID-19 cumulative observed case fatality rate over time
- Impact of a country's age breakdown on COVID-19 case fatality rate
- COVID-19 Tracker: Days since N
- COVID-19 Has Become a Partisan Issue (How to Make Dumbbell Plots in R
- Get Your Epidemiology from Epidemiologists
- Flatten the COVID-19 curve
- A Beginner’s Guide to Creating a Corona “Dashboard”
- Infectious diseases and nonlinear differential equations
- COVID-19: The Case of Spain
- Epidemic modelling of COVID-19 in the UK using an SIR model
- Modeling Pandemics (2)
- Don’t speculate, simulate!
- Coronavirus model using R — Colombia
- Epidemiology: How contagious is Novel Coronavirus (2019-nCoV)?
- A COVID Small Multiple
- Merge Covid-19 Data with Governmental Interventions Data
- COVID-19 Data and Prediction for Michigan
- Tidying the new Johns Hopkins Covid-19 time-series datasets
- Covid deaths graphs -- a walk-through (part 1)
- Covid deaths graphs -- school closure (part 2)
- Covid deaths graphs -- lockdown (part 3)
- Coverage of COVID research by the A&I databases
- Top 25 R resources on Novel COVID-19 Coronavirus
- How to create a simple Coronavirus dashboard specific to your country in R
- COVID-19 in Belgium
- Why log ratios are useful for tracking COVID-19
- Another "flatten the COVID-19 curve" simulation... in R
- The COVID-19 Initial Unemployment Claims Spike in Context
- Facts About Coronavirus Disease 2019 (COVID-19) in 5 Charts created with R and ggplot2
- Making Of: A Free API For COVID-19 Data
- COVID-19 decease animation map
- Merge Covid-19 Data with Governmental Interventions Data
Shiny apps / dashboards
- COVID-19 tracker [Code]
- Coronavirus (COVID-19) Across The World
- Coronavirus COVID-19 Global Cases
- Utah.gov Coronavirus Dashboard (Access seems restricted outside of the US)
- Visualisation of Covid-19 case data for the Island of Ireland [Code]
- COVID-19 Cases in Ontario
- Observatório COVID-19 BR
- Coronavirus dashboard
- Covid-19 [Code linked in app]
- CoronaDash
- Coronavirus COVID-19 : Répartition des cas infectés en Tunisie
- COVID-19 Tracker
- Thailand: COVID-19 Growth Dashboard
- Covid-19: country comparison
- Covid-19 Italy
- Government of Alberta COVID-19 dashboard
- Covid-19 Turkey
- Tableau de bord de suivi de l’épidémie de coronavirus en France
- Modeling COVID-19 Spread vs Healthcare Capacity - [Twitter thread] [Code]
- Covid-19 in United States
- COVID-19 in India
- The math behind flatten the curve [Code]
- Flatten the Curve
- Tracking COVID-19
- #explainCovid19 challenge
- COVID-19: Modeling the Flattening of the Curve
- An R Package to Explore the Novel Coronavirus
- COVID-19 call-to-arms
- COVID-19 State Tracker Dashboard
- COVID-19 Explorer
- Analisis descriptivo de contagio por Coronavirus
- Datos COVID-19 (SARS-CoV-2)
- Covid19-Cases
- US Coronavirus Tracker
- Covid-19 cases
- COVID-19 Schweiz - Open Source Version [Code]
- COVID-19 Dashboard
- Examining COVID-19 data
- Plotting when covid-19 growth trend slows
- Coronavirus Tracker [Code]
- Monitoring COVID-19 evolution in Italy
- COVID-19 Global Meter
- CoVid-19 in Italia
- Number of confirmed Covid-19 cases
- Modeling COVID-19 Spread vs Healthcare Capacity
- Canadian COVID Dashboard
- COVID-19 Outbreak
- Coronavirus 10-day forecast
- Reporting, epidemic growth, and reproduction numbers for the 2019-nCoV epidemic: understanding control
- COVID-19 in LAC
- Material Design Corona/COVID-19 Dashboard
- Coronavirus in Belgium [Code]
- Visualization of Covid-19 Cases [Code] [Narrative]
- COVID-19 Live Report [Code] [Narrative]
- COVID-19 in derivatives [Code] [Narrative]
- COVID-19 Data Visualization Platform [Code] [Narrative]
- COVID-19 Acute and Intensive Care Resource Tool [Code] [Narrative]
- COVID-19 Global Meter [Narrative]
- covid-19 monitor [Code] [Narrative]
- Painel Covid-19 [Code] [Narrative]
- Covid-19 Dashboard by HBAP Team Shiny [Narrative]
- Covid-O-Meter [Code] [Narrative]
- NZ COVID-19 Dashboard
- COVID Trials
- CovidMetrika Brasil
- COVID-19 India Analysis
- COVID-19 Event Risk Assessment Planning Tool
- Predict Pandemic
- Covid 19 Situation in Balkan Countries
Videos
- Playlist of COVID-19 related R tutorials by CradleToGraveR
- Cleaning and exploring the COVID-19 Open Research Dataset by David Robinson
Packages
Most of these are data only packages, but sone omly feature functions for creating visualisations and dashboard from the data in the package.
📦 coronavirus📦 nCoV2019.data📦 covidR📦 coronabr📦 covid19br📦 coronabr📦 covid19italy📦 covid19nytimes📦 covid19at📦 ncovmap - data of China and global world, China map, Province map of china World map, maps of Italy, Japan, Korea and Iran📦 nCov2019📦 covid19us📦 covid19germany📦 tidycovid19📦 COVID19analytics📦 COVID19
Data
These are not necessarily R specific resources, but they're mostly what the analyses in R rely on and/or are stored in a format that is easily digestable by R.
- COVID-19 data API updated daily with a simple plotting interface (based on JHU repo)
- NY data: https://github.com/car325/nytc19
- NY Times data: https://github.com/nytimes/covid-19-data
- Australia data: https://github.com/covid-19-au
- NZ data: https://github.com/nzherald/nz-covid19-data
- French data:
- Italy data: https://github.com/pcm-dpc/COVID-19
- US data from NYTimes: https://github.com/nytimes/covid-19-data
- Infotorch COVID-19 Australia Data API: https://github.com/infotorch/covid19-australia-api
- TO DO: SFBart said they'll be posting ridership numbers each day (https://twitter.com/SFBART/status/1239904439542005760?s=20), need to track down how to compile. Also see here.
- European Centre for Disease Prevention and Control
Journal articles
- Adjusted age-specific case fatality ratio during the COVID-19 epidemic in Hubei, China, January and February 2020 [Data & Code] [Tweet]
- Overview from MIDAS network
- Initial evidence on COVID-19 and crime in the United States
- Police calls for service during the coronavirus pandemic
- Data mining and analysis of scientific research data records on Covid-19 mortality, immunity, and vaccine development - In the first wave of the Covid-19 pandemic
- COVID-19: Forecasting short term hospital needs in France
- Understanding the Public Discussion About the Centers for Disease Control and Prevention During the COVID-19 Pandemic Using Twitter Data: Text Mining Analysis Study
Reports
- Reports by the Imperial College COVID-19 Response Team - Some of the analysis and the visualisations appear to be done in R
Educational activities
- Visualizing COVID-19 by Randy Prium
Misc.
- Maps made from the Johns Hopkins Coronavirus Data
- Discussion of resources on rOpenSci forum
- U.S. COVID-19 Data Explorer
- Peru calculations
- #COVID19 testing by US state
- COVID-19 Resource Gallery
- US COVID-19 Trends
- Coronavirus Global Cases leaflet map
- How Iceland is predicting COVID-19 cases: Hierarchical Logistic Growth Curves
- Mapping COVID-19 in Missouri [Repo]
- Florida COVID19 Data parsed from Florida DOH Dashboard and PDF reports
- Seattle Children's Hospital - Novel Coronavirus COVID-19 Daily Update of Confirmed Cases and Deaths (I believe the plots are made with R and plotly)
- PHE's COVID-19 case data by IMD
- Positive COVID-19 cases in NYC by zip code
- Exploring the Temporal Evolution of COVID-19 Cases in the Ohio Counties
- Pandemia COVID-19
- data Science Project Guide
Analysing COVID data responsibly
These are not #rstats specific, but important to digest before diving into the data.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.