Code for the paper:
Buechler, Elizabeth, Siobhan Powell, Tao Sun, Chad Zanocco, Nicolas Astier, Jose Bolorinos, June Flora, Hilary Boudet, and Ram Rajagopal. "Global Changes in Electricity Consumption During COVID-19." Submitted (2021).
This paper studies the change in electricity consumption in 58 countries/regions around the world during the 10 months of the COVID-19 pandemic, from January to October of 2020. The modeling framework used to estimate these changes is implemented in Consumption_Change_Estimation/model_fitting.py
; other researchers can use this code to apply the framework, to analyze either other countries in 2020 or other consumption shocks in the future.
The lead technical contact for the paper is Professor Ram Rajagopal: ramr 'at' stanford 'dot' edu.
The main data set generated by our analysis is posted publicly here: https://doi.org/10.7910/DVN/EU6RCS. We cannot host the raw data used as inputs, but it is available upon request. As it is all publicly available, we have provided links to the sources to collect it (see Table S1 in paper).
- Data (see README in Data folder)
- Consumption_Change_Estimation contains the code to process raw consumption data and estimate the percent change
- Analysis contains the code for the panel regression, clustering, and other analyses included in the paper and supplement
- Figures, where the code will place figures generated by the analyses