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.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 [9 favorites]
posted by phooky at 11:55 AM on March 28, 2020 [9 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]
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]
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
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 [1 favorite]
posted by benzenedream at 1:31 PM on March 28, 2020 [1 favorite]
the output is unicode ansified goodness
I need to step up my game
posted by mikelieman at 2:24 PM on March 28, 2020
I need to step up my game
$ ./driver.pl ^DJI - Dow Jones Industrial Average Trump 21636.78 (At close: 5:12PM EDT) Obama 19813.55 (last day in office) ----- -------------------------------- Diff 1823.23
posted by mikelieman at 2:24 PM on March 28, 2020
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]
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]
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
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?
- 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) - Once Node and npm are installed, type
npm install -g corona-cli
to install the library on your machine - 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 becorona usa
- Go somewhere quiet and stare into the middle distance
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]
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]
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
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]
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]
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
posted by mikeand1 at 11:51 AM on March 28, 2020 [1 favorite]