Description Usage Arguments Value
View source: R/utils-summary.R
get_latest_reported()
gets the latest reported data available for estimated
or reported data. Used in write functions.
1 2 3 4 5 6 7 8 9 10 11 12 | get_latest_reported_df(
df,
iso3,
ind,
type_col,
year,
value,
transform_value = NULL,
level = NULL,
source_col,
ind_df
)
|
df |
Data frame in long format, where 1 row corresponds to a specific country, year, and indicator. |
iso3 |
Column name of column with country ISO3 codes. |
ind |
Column name of column with indicator names. |
type_col |
Column name of column with type data. |
year |
Column name of column with years. |
value |
Column name of column with indicator values. |
transform_value |
Column name of column(s) with transformed indicator values, used to calculate contributions. |
level |
integer indicating the level column. Specific to HEP. |
source_col |
Column name of column to store source information. |
ind_df |
data frame containing information on indicators |
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.