Description Usage Arguments Value
View source: R/tidy_functions.R
Reads all cru_cy (Climate Research Unit Country) files for a multiple metrics and binds to create a single tibble. Data is drawn from a directory supplied by the user, likely created through the down_cru_cy_files function.
1 | create_agg_cru_cy_df(agg_cru_cy_folder, agg_cru_cy_metrics, agg_cru_cy_year)
|
agg_cru_cy_folder |
path to a folder contains all cru_cy data folders,
passed to the |
agg_cru_cy_metrics |
a character string of metrics which is iterated over with |
agg_cru_cy_year |
identifies the year of the CEDA data to loaded,
passed to the |
a tibble with five columns: Country, Metric, Year, Month, Value.
In contrast to read_cru_cy_files
there may be multiple metrics if length(agg_cru_cy_metrics) > 1
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.