magclass (version 4.107.0)

read.report: Read file in report format

Description

This function reads the content of a reporting file (a file in the model intercomparison file format *.mif) into a list of MAgPIE objects or a single MAgPIE object

Usage

read.report(file, as.list = TRUE)

Arguments

file

file name the object should be read from.

as.list

if TRUE a list is returned (default), if FALSE it is tried to merge all information in one MAgPIE object (still under development and works currently only if the entries for the different models and scenarios have exactly the same regions and years).

See Also

write.report

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
  read.report("report.csv")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab