read.reportEntry: Read entry in file of report format

Description Usage Arguments Author(s) Examples

View source: R/read.reportEntry.R

Description

This function reads one entry of a reporting file (a file in the model intercomparison file format *.mif) into a MAgPIE object. This function can be used by read_all() to read in the data for more than one output folder

Usage

1
read.reportEntry(outputdir, entry, type = NULL)

Arguments

outputdir

output folder which contains the reporting

entry

entry of the reporting that you want to read in

type

type of the reporting that you want to read in

Author(s)

Lavinia Baumstark, David Klein

Examples

1
2
3
4
5
## Not run: 
  read.reportEntry("output/SSP2-ref",entry="Emi|Kyoto Gases (Mt CO2eq/yr)")
  read_all(outputdirs,read.reportEntry,entry="Emi|Kyoto Gases (Mt CO2eq/yr)",as.list=FALSE)

## End(Not run)

pik-piam/remind documentation built on Sept. 9, 2021, 1:09 p.m.