View source: R/export_plot_timeseries.R
export_plot_timeseries_indicator_iso3_group | R Documentation |
export_plot_timeseries_indicator_pdf
exports plots to pdf.
export_plot_timeseries_indicator_iso3_group( df, iso3_group, indicator, output_folder, scale, value_col, default_scenario, start_year, experiment )
df |
Data frame in long format, where 1 row corresponds to a specific country, year, and indicator. |
iso3_group |
named list of iso3 to be ploted |
indicator |
name of indicator to plot |
output_folder |
Folder path to where the Excel files should be written |
scale |
type of scale to be exported. Can be either:
|
value_col |
Column name of column with indicator values. |
default_scenario |
name of the default scenario. |
start_year |
Base year for contribution calculation, defaults to 2018. |
experiment |
name of the experiment of plots. Default to NULL. If used, a new
folder will be added to |
openxslx
Workbook object. Output file is in output_folder
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.