Does monetary policy influence euro area fiscal sustainability? - Data and source code
Description
This repository includes the data and the source code used to obtain the output reported in the paper 'Does monetary policy influence euro area fiscal sustainability?' by Afonso and Gomes-Pereira (2025). The data is in .xlsx format (data_for_replication.xlsx) and the source code is an RMarkdown file in R language (Replication Code.Rmd). The source code file should be run in RStudio. More details regarding the source and transformation of the variables is included in the excel file’s sheet ‘Variable Descriptions’.
Files
Steps to reproduce
First, load the provided data. For that, run the following line: data_final <- read_excel(rstudioapi::selectFile("Select File"), sheet = "Data") A dialog box will appear where the .xlsx file provided should be selected (data_for_replication.xlsx). The code is organized by Table and Figure outputs as subsection headings for quick reference. Run the code line by line after loading the data to replicate the desired output. The code is extensively commented for ease of use.