Function that extracts results from all iterations inside a supplied scenario folder. The function writes 3 .csv files to the scenario folder: (1) scalar metrics with one value per iteration (e.g. R0, h), (2) a timeseries data ('ts') which contains multiple values per iteration (e.g. SSBy for a range of years y), and (3) [currently disabled and not tested] residuals on the log scale from the surveys across all iterations. The function get_results_all loops through these .csv files and combines them together into a single "final" dataframe.
scenario: A single character giving the scenario from which to extract results.
directory: The directory which contains the scenario folder.
overwrite_files: A boolean (default is FALSE) for whether to delete any files previously created with this function. This is intended to be used if iterations were added since the last time it was called, or any changes were made to this function.