Kashnitsky, I., & Aburto, J. M. (2020). COVID-19 in unequally ageing European regions. OSF Preprint. https://doi.org/10.31219/osf.io/abx7s
This replication repository contains raw and processed data and all the code that dowmloads the data, processes it, calculates the statistic of interest, and produces the plots.
The repository "R" conrtains three scripts, which are named according to the tasks that they perform.
The final figure is polished a bit using Inkscape, the .svg file is available in the "inkscape" directory.