write.reportProject: Write file in specific project format

Description Usage Arguments Author(s) See Also Examples

View source: R/write.reportProject.R

Description

Reads in a reporting.mif or uses a magpie object based on a read in reporting.mif, substitutes names of variables according to the mappping, mutliplies by an optional factor in the 3rd column of the mapping, and saves the output in a new *.mif

Usage

1
write.reportProject(mif, mapping, file = NULL)

Arguments

mif

Lists with magpie-objects or a magpie-object as created by read.report or a path to a report.mif

mapping

mapping of the varialbe names of the read in mif. the header is used for naming.

file

name of the project specipic report, default=NULL means that the names of the header of the reporting is used

Author(s)

Christoph Bertram, Lavinia Baumstark, Anastasis Giannousakis

See Also

write.report

Examples

1
2
3
4
## Not run: 
write.reportProject("REMIND_generic_test.mif","Mapping_generic_ADVANCE.csv")

## End(Not run)

magclass documentation built on May 29, 2017, 8:03 p.m.

Search within the magclass package
Search all R packages, documentation and source code