View source: R/exemplar_functions.R
load_exemplar_table | R Documentation |
An exemplar table has a column of country names and additional metadata, including the exemplar country and any name changes through time.
load_exemplar_table( exemplar_table_path = sample_exemplar_table_path(), countries = NULL, max_year = NULL, exemplar_table_tab_name = PFUWorkflow::exemplar_names$exemplar_tab_name, prev_names = PFUWorkflow::exemplar_names$prev_names, country = IEATools::iea_cols$country, year = IEATools::iea_cols$year )
exemplar_table_path |
The path to the Excel file containing an exemplar table.
Default is the value of |
countries |
The countries for which exemplars are desired. If |
max_year |
The maximum year for which you want the exemplar table, an integer.
Default is |
exemplar_table_tab_name, prev_names |
See |
year, country |
See |
This function gathers (actually, tidyr::pivot_longer()
) years into a Year column.
It also
an exemplar table
load_exemplar_table()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.