~~ Methods for Function as.data.frame ~~

Description

~~ Methods for function as.data.frame ~~

Arguments

x

A MAgPIE-object

rev

The revision of the algorithm that should be used for conversion. rev=1 creates columns with the predefined names Cell, Region, Year, Data1, Data2,... and Value, rev=2 uses the set names of the MAgPIE object for naming and adds an attribute "dimtype" to the data.frame which contains information about the types of the different columns (spatial, temporal, data or value).

Methods

signature(x = "magpie")

Conversion creates columns for Cell, Region, Year, Data1, Data2,... and Value

Examples

1
2
3
data(population_magpie)
head(as.data.frame(population_magpie))
head(as.data.frame(population_magpie,rev=2))

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.