Downloads updated data from https://covid.ourworldindata.org/data/full_data.csv.
Make sure you have Go installed from either golang.org or by running (macOS):
brew install go
Clone this repo and run the install script:
git clone git@github.com:colinc86/covid-19.git
cd covid-19
./install.sh
Run the command
covid19 update data
or add the -u
flag to commands:
covid19 -u list data
Data is saved to /usr/local/var/covid_full_data.csv
.
List data by location
covid19 list data
List world data
covid19 list data -w
List data by location and sort by total cases (or new cases/deaths and total deaths)
covid19 list data --sortBy totalCases
List data from a location
covid19 list data -l [location]
Graph world data by total cases
covid19 graph data
Graph location data by total cases
covid19 graph data -l [location]
Graph world data by new deaths
covid19 graph data --value newDeaths