scenario_rename: scenario_rename

Description Usage Arguments Examples

View source: R/utils.R

Description

Returns a list of processed data for all queries that have processing code

Usage

1
scenario_rename(data, name_lookup)

Arguments

data

Processed GCAm data

name_lookup

Vector of old scenarios (without timestamp) and new names, see example

Examples

1
2
scenario_rename(data = df[["primary_energy"]], name_lookup = c(Reference = "BAU", Ctax20 = "Carbon Tax $20"))
lapply(data, scenario_rename, name_lookup = c(Reference = "BAU", Ctax20 = "Carbon Tax $20"))

russellhz/gcamchartr documentation built on May 24, 2019, 7:18 a.m.