exec_scenario: Execute a scenario

View source: R/utils-scenarios.R

exec_scenarioR Documentation

Execute a scenario

Description

Simple wrapper around rlang::exec to pass parameters and df to fn

Usage

exec_scenario(df, fn, parameters)

Arguments

df

(data.frame) containing the data.

fn

function to be executed

parameters

parameters to be passed to fn

See Also

General scenario functions add_scenario(), calculate_aarc(), calculate_aroc(), fill_cols_scenario(), flat_extrapolation(), get_aarr(), get_baseline_value(), get_baseline_year(), get_last_value(), 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.