Skip to content

Instantly share code, notes, and snippets.

@togakangaroo
Created April 20, 2020 01:22
Show Gist options
  • Save togakangaroo/60d33bad937b9a928bc1e323195f05cf to your computer and use it in GitHub Desktop.
Save togakangaroo/60d33bad937b9a928bc1e323195f05cf to your computer and use it in GitHub Desktop.

Covid19 Orleans Deaths

"Orleans"
curl https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv | 
 grep "$COUNTY,.*Louisiana"
deaths_per_day = [x[-1] for x in data]
data_with_deltas = [(a[0], a[1], a[-2], a[-1], b - a[-1]) for a, b in zip(data, deaths_per_day[1:])]
return data_with_deltas

change-in-deaths-per-day-Orleans.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment