reportingReverse: reportingReverse

View source: R/reportingReverse.R

reportingReverseR Documentation

reportingReverse

Description

reverses the reporting format with tree structure (e.g. "Demand", "Demand|Agriculture|Food (Mt DM)") into a conventional magpie format

Usage

reportingReverse(x)

Arguments

x

a MAgPIE which has the format of a report file (e.g. "Demand|Agriculture|Food (Mt DM)")

Value

a MAgPIE object with higher dimensionailty

Author(s)

Benjamin Leon Bodirsky

Examples

## Not run: 
budget <- calcOutput("ValidDemand")
    reportingReverse(budget)

## End(Not run)


pik-piam/magpiesets documentation built on April 22, 2024, 3:34 p.m.