getReportDemandStandalone: getReportDemandStandalone

View source: R/getReportDemandStandalone.R

getReportDemandStandaloneR Documentation

getReportDemandStandalone

Description

Puts together a report based on a MAgPIE gdx file

Usage

getReportDemandStandalone(
  gdx,
  file = NULL,
  scenario = NULL,
  detail = FALSE,
  ...
)

Arguments

gdx

GDX file

file

a file name the output should be written to using write.report. If NULL the report is returned instead as a MAgPIE object.

scenario

Name of the scenario used for the list-structure of a reporting object (x$scenario$MAgPIE). If NULL the report is returned instead as a MAgPIE object.

detail

Crop specific (TRUE) or aggregated outputs (FALSE)

...

additional arguments for write.report. Will only be taken into account if argument "file" is not NULL.

Value

A MAgPIE object containing the report in the case that "file" is NULL.

Author(s)

Florian Humpenoeder

Examples


  ## Not run: 
    x <- getReportDemandStandalone(gdx)
  
## End(Not run)


pik-piam/magpie4 documentation built on Dec. 20, 2024, 1:59 p.m.