Skip to contents

The path to a filled final-to-useful allocation table

Usage

sample_fu_allocation_table_path(version = 2022)

Arguments

version

the desired version (expressed as the year of IEA data release) of the sample final-to-useful allocation table. Options are 2021 (default), 2020, 2019, and 2018.

Value

the path to a final-to-useful allocation table

Examples

sample_fu_allocation_table_path()     # Assumes 2022
#> [1] "/home/runner/work/_temp/Library/IEATools/extdata/GH-ZA-Allocation-sample-2022.xlsx"
sample_fu_allocation_table_path(2022) # Same
#> [1] "/home/runner/work/_temp/Library/IEATools/extdata/GH-ZA-Allocation-sample-2022.xlsx"
# Returns path for sample allocation table appropriate for other IEA data releases
sample_fu_allocation_table_path(2021) 
#> [1] "/home/runner/work/_temp/Library/IEATools/extdata/GH-ZA-Allocation-sample-2021.xlsx"