Cribbing Some CV Work
I really liked Kevin Systrom’s work to track the rate of transmission, starting with this jupyter notebook, which is 😍. Then, perhaps literally while I was working towards this post, he started publishing the results of the model he’s using to a new site rt.live.
While he built that beautiful site, I’ve just been hacking on this a bit, and I’m keeping a version on Azure Notebooks, with the big difference being I’ll be looking at data by county, not by state. Also, because my goal is to iterate through the stats more quickly, hopping county to county, I’ve hidden most of the code with a helper_functions.py file which contains most of the code - TIL you can import a python file into Azure Notebooks.
I’m using the NY Times data on github, which it seems Kevin has moved on from. I’ll likely update my code to match the same source as rt.live. Now that my site is up and running and this post is up, I’ll try to keep other aspects of my code updated with k-sys’s github. Here’s a sample for my home county:
Note 1 This post will be updated for a while, and I don’t intend to constantly make sure edits are easily read. This is tracked on github if you’re curious how this post evolved.
Note 2 I haven’t got a process from jupyter -> Hugo to work yet. I know about this hugo_jupyter project) but it hasn’t been updated in ~ 3 years, so i’m hesitant to spend a lot of time digging into it. This is only slightly more recent.