The sample data file is in .csv format and contains
IEA extended energy balances data for Ghana and South Africa for the years 1971 and 2000.
Usage
sample_iea_data_path(version = 2022)
Arguments
- version
The desired version (expressed as the year of release) of sample data.
Options are 2018--2022
. 2022
is the default.
Value
the path to a sample data file.
Details
Permission to include this data was provided in a phone conversation between
Nick Johnstone (IEA Chief Statistician) and Matthew Kuperus Heun (IEATools developer)
on Monday, 3 June 2019.
Examples
sample_iea_data_path() # Assumes 2022
#> [1] "/home/runner/work/_temp/Library/IEATools/extdata/GH-ZA-TJ-Extended-Energy-Balances-sample-2022.csv"
sample_iea_data_path(2022) # Same
#> [1] "/home/runner/work/_temp/Library/IEATools/extdata/GH-ZA-TJ-Extended-Energy-Balances-sample-2022.csv"