Comparing 1st and 2nd lockdown using electricity consumption in France
Want to share your content on Rbloggers? click here if you have a blog, or here if you don't.
The health and economic crisis is of unprecedented scale and speed. To measure it, high frequency data are used, complementary to traditional data. We focus on electricity consumption from ENEDIS data, available on DBnomics, through the rdbnomics package. All the following code is written in R, thanks to the RCoreTeam (2016) and the RStudioTeam (2016).
Data shows underconsumption of electricity in the spring and overconsumption of electricity in the fall of 2020.
But variations in electricity consumption seem to be correlated with temperatures variations.
We then look at electricity consumption by customer category.
Residential electricity consumption appears to capture a significant portion of the variations due to temperature.
Large enterprises and SMEs experienced a net decrease (20% and 27% respectively) during the 1st lockdown. The 2nd lockdown mainly impacts the electricity consumption of SMEs (18% on average in November), even if large enterprises are also affected (6% on average).
Useful links :

Retrieve all the data on DBnomics

Reproduce and update the presentation with the code here

High frequency data are available on DBnomics thanks to a partnership between Banque de France, Cepremap and OECD
Bibliography
R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria, 2016. URL: https://www.Rproject.org. ↩
RStudio Team. RStudio: Integrated Development Environment for R. RStudio, Inc., Boston, MA, 2016. URL: http://www.rstudio.com/. ↩
Rbloggers.com offers daily email updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/datascience job.
Want to share your content on Rbloggers? click here if you have a blog, or here if you don't.