Student Resources
These are materials I have put together for my own students and research assistants. Feel free to use and adapt them. If you use one in a course, I’d be glad to hear about it.
Code Templates
R template
Difference-in-Differences Project Template
Sample code and data from my master’s course at the University of Basel, where students built difference-in-differences analyses around their own research questions. A good starting point for a first DID project.
View on GitHubJupyter notebook
OLS Regression with Geographic Data
A step-by-step OLS template in Python using World Bank agricultural land data and EM-DAT disaster data, with an exported PDF report to follow along.
View on GitHubData Guides
Data resource
Climate Data Central
A repository to centralize and preserve climate data resources.
View on GitHubQGIS and Python guide
Nighttime Lights to Country-Year Data
Extracting nighttime lights rasters, pulling statistics by country border in QGIS, and exporting country-level data.
View on GitHubQGIS, Python, and Stata guide
Shapefile and CSV Merging
Joining a shapefile to an attribute table by state and county, then cleaning the merged data in Stata.
View on GitHubStata and Excel tools
Country Name Standardization
Merging datasets on country names despite differences in spelling, abbreviations, codes, and languages.
View on GitHubSQL guide
Updated GDELT Data Extraction
A working sample of the query format the current GDELT SQL interface requires.
View on GitHubGetting ready for the academic job market? See my Job Market Resources for Notion templates to track applications and manage a research pipeline.