getPlotData: Extract and format data for a plot

Description Usage Arguments

Description

Extract and format data for a plot

Usage

1
2
getPlotData(prjdata, query, pltscen, diffscen, key, filters,
  yearRange = c(2005, 2050))

Arguments

prjdata

Project data structure

query

Name of the query to plot

pltscen

Name of the scenario to plot

diffscen

Difference scenario, if any

key

Aggregation variable. (e.g., 'region' or 'sector')

yearRange

A vector of two integers of form c(start year, end year) to filter the data to.

filters:

Named list of variables and values to filter on before aggregating. Values can be character or a list.


JGCRI/GCAM-LAC-dashboard documentation built on May 28, 2019, 12:42 p.m.