Skip to content

reichlab/covidData

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 

covidData

DOI

This is an R package that provides versioned time series data for COVID-19 from the JHU data repository at https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series.

Installation and Updating Data

For this package to be useful, you will need to clone it and install it from your local copy after you have updated the data.

To clone the repository, in a terminal you can run git clone https://github.com/reichlab/covidData.git

installation prerequisites

You will need R 3.x or 4.x

installation using make

We recommend using make to simplify the updating of data. However, some Windows operating systems do not allow for easy use of the command make, so manual installation should be used if make does not work.

To use make, you must complete the following steps once you have cloned the repository:

  1. In a terminal/shell window, navigate to code/data-processing.
  2. Run make all. (This runs the steps below.)

Note: If you want to only download the most recent JHU data files, for step 2. instead run make recent_data

manual installation

If make does not work for you, you may run the following steps by hand. To update the data, please:

  1. Clone the repository. If you have previously installed covidData from an existing local clone, pull any updates to the package by running git pull origin master from the terminal, with the repository folder as your working directory.
  2. Run R CMD INSTALL covidData from the terminal

data disclaimer

*The names of locations included on the Website correspond with the official designations used by the U.S. Department of State. The presentation of material therein does not imply the expression of any opinion whatsoever on the part of JHU concerning the legal status of any country, area or territory or of its authorities. The depiction and use of boundaries, geographic names and related data shown on maps and included in lists, tables, documents, and databases on this website are not warranted to be error free nor do they necessarily imply official endorsement or acceptance by JHU.