Every day for who knows how long I’ve tinkered with COVID-19 data and made graphs using Stata. Now I’ve condensed my tools down to several elements, updated daily, which I’m sharing:
- A program that assembles the COVID death and case data, by date, at the county, state, and country level. To this I have added some population, income, and political variables. The program is here, along with the codebook it outputs.
- The data file is here in Stata format and CSV format. It’s in long shape, so one record for each place on each date.
- A Stata program that makes my favorite graphs right now (currently 24 per day). The Figures are stored here in PNG format.
- The Stata scheme I use to make them look the how I like is here.
I hope someone finds these helpful, for teaching or exploring on their own. It’s all yours.
Here are a few figures from today’s runs (click to enlarge):