More Typing, Less Clicking
March 28, 2020 11:47 AM   Subscribe

corona-cli is an open source, command-line client written by Ahmad Awais to collate and display quick statistics on the COVID epidemic pulled from a variety of sources in a terminal.
posted by Going To Maine (17 comments total) 25 users marked this as a favorite
 
Somebody must be putting all this data into R datasets, no?
posted by mikeand1 at 11:51 AM on March 28, 2020 [1 favorite]


If you don't want to install anything locally, you can get this data from https://corona-stats.online/, which is what I'm using to automate the header on my plague journal. (You can get it in json or other formats, as described here, but be aware there's a bug in that doc-- you have to add "format=json", not "json=true".) yes i am keeping a plague journal on my dedicated apocalypse terminal don't judge
posted by phooky at 11:55 AM on March 28, 2020 [10 favorites]


Mikeand1 yes, but they're all full of PHI and no one has any time to deid them for sharing. They'll be released when someone has time, and someone requests it, but it's all hands on deck for responding right now. /publichealthnerd
posted by esoteric things at 12:10 PM on March 28, 2020 [2 favorites]




mikeand1 you can try this kaggle dataset if you're looking for counts (and other things): https://www.kaggle.com/sudalairajkumar/novel-corona-virus-2019-dataset.
posted by claudius at 12:49 PM on March 28, 2020 [1 favorite]


I’m actually a core developer of the fish shell

The best shell!
posted by Going To Maine at 12:50 PM on March 28, 2020


<cue shell deathmatch derail>
posted by benzenedream at 1:31 PM on March 28, 2020 [2 favorites]




This is the place to post one of the most illustrative COVID charts I've seen, made by Aatish Bhatia: new cases/week vs. cumulative cases. More countries selectable at right.
posted by anthill at 2:37 PM on March 28, 2020 [3 favorites]


This virus can't be more toxic than cordova-cli.
posted by w0mbat at 7:00 PM on March 28, 2020 [1 favorite]


I know how to do a few Terminal-ey things, but how do I use this in macOS?
posted by Wild_Eep at 8:31 PM on March 28, 2020


I know how to do a few Terminal-ey things, but how do I use this in macOS?
  1. Open your favorite terminal window and type npm -v
    This will determine if you have node and npm installed. (If you do not, go to Node's page and follow the LTS [long-term support] instructions for the most recent version)
  2. Once Node and npm are installed, type npm install -g corona-cli to install the library on your machine
  3. Then you can look up all data through commands like corona (all data worldwide) or look for a specific country by adding an argument. So all US data would be corona usa
  4. Go somewhere quiet and stare into the middle distance
posted by fifteen schnitzengruben is my limit at 9:55 PM on March 28, 2020 [6 favorites]


mikeand1: This person Rami Krispin is maintaining a dataset that is updated daily, and you can download the latest data from GitHub with R:

download <- getURL("https://raw.githubusercontent.com/RamiKrispin/coronavirus-csv/master/coronavirus_dataset.csv?accessType=DOWNLOAD")
covid19 <- read.csv (text = download)

He also has a bunch of more sophisticated tools including a Coronavirus Dashboard that does many things that I don't understand with my rudimentary R skills. There's also some discussion on his pages of various other related efforts to make data available.
posted by gubenuj at 10:18 PM on March 28, 2020 [1 favorite]


This is neat and congrats to the creator for making a thing. But I really don't think this is a good enough reason to install node on my node-less computer. And I don't install node since it is a bit of a security nightmare.

But I did fire up a Droplet and install it there to check the damage.

added 190 packages from 91 contributors in 13.118s

No thank you. Time to nuke the Droplet. Node is cancer. And I have actual cancer at this very second.
posted by johnpowell at 3:16 AM on March 29, 2020 [6 favorites]


While these COVID statistics do give us a lot of data to play with, I think it is mostly showing the level of testing and identification in different countries, rather than the actual spread of the disease. The death figures are likely heavily under reported in areas where COVID testing is not readily available.
We really need something like the number of cases/deaths relative to the number of random tests performed, but as almost no-one is doing random or universal testing yet, thats going to be some way off.
posted by Lanark at 5:36 AM on March 29, 2020


I think it is mostly showing the level of testing and identification in different countries, rather than the actual spread of the disease.

Every data-person everywhere: This is not really the data you're after.
Their boss: What am I paying you for? Give me insights from whatever data we have! (please don't explain the tenuous link from A to B)
posted by pompomtom at 7:12 AM on March 29, 2020 [4 favorites]


Hi everyone!

Thanks for sharing my corona-cli project. I'm a terminal junkie and wanted to make COVID19 info more accessible to everyone. Especially dogfooding my need to not deal with clunky UI. Glad y'all liked it.

Peace! ✌️
posted by ahmadawais at 5:34 PM on March 29, 2020 [6 favorites]


« Older Who owns your tattoo?   |   Stay home, be art Newer »


This thread has been archived and is closed to new comments