Skip to contents

A named character vector in the shape every `*_all()` function expects: the **name** is the indicator key reiod knows, the **value** is the column in [eiod_demo] that holds it.

Usage

eiod_demo_map

Format

A named character vector of length 7.

Details

It is shipped rather than retyped in each example, and it exists at all because [eiod_demo]'s columns are deliberately *not* named after the indicator keys. Write the equivalent line for your own data once, near the top of your script, and every later call reads from it.

See also

[eiod_absolute_all()], [eiod_relative_all()], [eiod_demo]

Examples

data(eiod_demo_map)
eiod_demo_map
#>           landtotal          landarable         landpasture                 ghg 
#>   "land_total_m2yr"  "land_arable_m2yr" "land_pasture_m2yr"        "ghg_kgco2e" 
#>             eutroph               water              biodiv 
#>     "eutroph_gpo4e"      "water_litres"        "biodiv_pdf" 

# the same shape, for your own data:
# my_map <- c(ghg = "ghg_total_kg", biodiv = "pdf_year", water = "water_l")