sample_ceda_data_path: Create a list of file paths to sample CEDA cru_cy files...

Description Usage Arguments Value

View source: R/utilities.R

Description

Create a list of file paths to sample CEDA cru_cy files bundled in CEDATools

Usage

1
2
3
4
5
sample_ceda_data_path(
  country = c("Ghana", "South_Africa"),
  metric = c("tmp", "tmn", "tmx"),
  version = 2020
)

Arguments

country

One of either "Ghana" or "South Africa", the two countries for sample data is bundled in CEDATools

metric

One of:"tmn" = Near surface temperature minimum, "tmp" = Near surface temperature, "tmx" = Near surface temperature maximum. The three metrics for which there is sample data bundled in CEDATools

version

An integer representing the year in which CEDA data were released. E.g., 2020 means data up through year 2019 that were released in the year 2020.

Value

A list of paths for the selected sample data, determined by the sample metric and sample countries selected.


EnergyEconomyDecoupling/CEDATools documentation built on Dec. 30, 2021, 12:15 a.m.