Add functionality to make this code read in from a list of specified datasets (e.g. created as the output from transform), run the summarise code, and then combine all the summarised datasets into one mega summary, with each one identified by new columns for country and year.
Add functionality to make this code read in from a list of specified datasets (e.g. created as the output from transform), run the summarise code, and then combine all the summarised datasets into one mega summary, with each one identified by new columns for country and year.