get_last_value: Get last value for the filter

View source: R/utils-scenarios.R

get_last_valueR Documentation

Get last value for the filter

Description

Get last value for the filter

Usage

get_last_value(
  df,
  type_filter = c("reported", "estimated", "projected", "estimated")
)

Arguments

df

(data.frame) containing the data. Needs to have at least the year and type columns.

type_filter

(character vector) vector of types to be filtered for.

See Also

General scenario functions add_scenario(), calculate_aarc(), calculate_aroc(), exec_scenario(), fill_cols_scenario(), flat_extrapolation(), get_aarr(), get_baseline_value(), get_baseline_year(), get_last_year_scenario(), get_latest_aarc(), get_percent_change_aarc(), get_target_aarc(), remove_unwanted_scenarios(), trim_values(), trim_years()


gpw13/billionaiRe documentation built on Sept. 27, 2024, 10:05 p.m.