View source: R/utils-summary.R
get_baseline_projection_df | R Documentation |
get_latest_reported()
gets the latest reported data available for estimated
or reported data. Used in write functions.
get_baseline_projection_df( df, value_col, transform_value_col, start_year, end_year, ind_df )
df |
Data frame in long format, where 1 row corresponds to a specific country, year, and indicator. |
value_col |
Column name of column with indicator values. |
transform_value_col |
Column name of column(s) with transformed indicator values, used to calculate contributions. |
start_year |
Base year for contribution calculation, defaults to 2018. |
end_year |
End year(s) for contribution calculation, defaults to 2019 to 2025. |
ind_df |
data frame containing the indicators in the correct order and format to be used. |
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.