The summary data are stored in 0-SummaryData/updatedHES/PHattribution and 0-SummaryData/updatedHES/PHattribution/SensitivityAnalysis
The figures and tables in the paper can be produced using 4-AttributionStudies-PH.R and 4-AttributionStudies-PH-Sensitivity.R,
that are stored in 7-FiguresAttribution.
The directory needs to be set so that e.g. "AFdiseaseCode" contains all the folders 0-SummaryData etc.
Some external R libraries are used, that may need installing.
The figures and tables are subsequently stored in 7-FiguresAttribution/FiguresHESupdate and 7-FiguresAttribution/TablesHESupdate.