Skip to contents

Usage

to_title(x)

recode_metric_techmix(x)

recode_metric_trajectory(x)

spell_out_technology(x)

Arguments

x

A character vector.

Value

A character vector.

Examples

to_title(c("a.string", "another_STRING"))
#> [1] "A String"       "Another STRING"

metric <- c("projected", "corporate_economy", "target_xyz", "else")
recode_metric_trajectory(metric)
#> [1] "Portfolio"         "Corporate Economy" "XYZ"              
#> [4] "Else"             

recode_metric_techmix(metric)
#> [1] "Portfolio"    "Benchmark"    "XYZ Scenario" "Benchmark"   

spell_out_technology(c("gas", "ice", "coalcap", "hdv"))
#> [1] "Gas"                 "ICE"                 "Coal Capacity"      
#> [4] "Heavy Duty Vehicles"