Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
This project contains data and code to compile and analyze COVID-19 data from countries, US states, and US counties. All code is in Stata. All data are publicly available and are imported by the Stata programs. Information and links to the data are also in the programs. The first program is "make master.do". Executing this programs accesses a separate program for each of the three data levels and then combines them to create new variables. The files this compiles are long, that is, one record per geographic area per day. The master program creates a Stata data file called "covid-master.dta", and a CSV file called "covid-master.csv". It also exports a codebook in text format called "master-covid-codebook.txt". These are put in the "data files" folder. Note that if you run these programs Stata will create this files and put them wherever you specify. The "make master.do" file now makes a file for 2022 only. The files for 2020 and 2021 are in the data folder. The program "make figures.do" evolves with my interests. Running it on any given day will access and combine the master data files for 2020, 2021, and 2021 and make figures. Most of these are flexible as to the day they are run, but they might not be perfect as dates and data values change. The "figures" folder contains my most recent versions of these figures. Elsewhere in this project there are some scraps and old files. Help yourself to these but I won't vouch for them. The contents of this project are licensed under CC0 1.0 Universal. You're free to use it however you like. Please cite the project with the DOI: 10.17605/OSF.IO/WD2N6.
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.