fill_cols_scenario: Infills scenarios with 'values' when 'cols' are missing...

View source: R/utils-scenarios.R

fill_cols_scenarioR Documentation

Infills scenarios with values when cols are missing values.

Description

Infills scenarios with values when cols are missing values.

Usage

fill_cols_scenario(
  df,
  scenario_col = "scenario",
  cols = list("type", "source", "use_dash", "use_calc"),
  values = list("projected", NULL, TRUE, TRUE)
)

Arguments

df

(data.frame) containing the data

scenario_col

Column name of column with scenario identifiers.

cols

(list) of columns to be infilled

values

(list) of values to infill with.

See Also

General scenario functions add_scenario(), calculate_aarc(), calculate_aroc(), exec_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.