magclass: Data Class and Tools for Handling Spatial-Temporal Data

Data class for increased interoperability working with spatial-temporal data together with corresponding functions and methods (conversions, basic calculations and basic data manipulation). The class distinguishes between spatial, temporal and other dimensions to facilitate the development and interoperability of tools build for it. Additional features are name-based addressing of data and internal consistency checks (e.g. checking for the right data order in calculations).

AuthorJan Philipp Dietrich, Benjamin Bodirsky, Misko Stevanovic, Lavinia Baumstark, Christoph Bertram, Markus Bonsch, Anastasis Giannousakis, Florian Humpenoeder, David Klein, Ina Neher, Michaja Pehl, Anselm Schultes
Date of publication2016-07-21 19:20:31
MaintainerJan Philipp Dietrich <dietrich@pik-potsdam.de>
LicenseLGPL-3 | file LICENSE
Version3.85

View on CRAN

Man pages

add_columns: add_columns

add_dimension: add_dimension

as.array-methods: ~~ Methods for Function as.array ~~

as.dataframe-methods: ~~ Methods for Function as.data.frame ~~

clean_magpie: MAgPIE-Clean

collapseNames: Collapse dataset names

colSums-methods: ~~ Methods for Function colSums and colMeans ~~

complete_magpie: complete_magpie

convert.report: Converts a report from one model to another

copy.attributes: Copy Attributes

copy.magpie: Copy MAgPIE-files

dimCode: dimCode

dimSums: Summation over dimensions

escapeRegex: .escapeRegex

fulldim: Reconstructs full dimensionality of MAgPIE objects

getCells: Get Cells

getComment: getComment

getCPR: Get cells per region

getDim: getDim

getNames: Get dataset names

getRegionList: Get a list of celluare region-belongings

getRegions: Get regions

getSets: Get sets

getYears: Get years

head-methods: head/tail

is.temporal: is.temporal, is.spatial

isYear: isYear

lowpass: Lowpass Filter

magclass-package: MAgPIE Class Functions

magpie-class: Class "magpie" ~~~

magpieComp: magpieComp

magpie_expand: magpie_expand

magpiesort: MAgPIE-Sort

make.ISOyear: Create lookup-table for efficient conversion of years to...

mbind: mbind

mcalc: mcalc

mselect: MSelect

ncells: Count elements

old_dim_convention: old_dim_convention

place_x_in_y: place_x_in_y

print-methods: print

quitte-class: Class "quitte" ~~~

read.magpie: Read MAgPIE-object from file

read.report: Read file in report format

remind2magpie: Remind2MAgPIE

round-methods: Round-method for MAgPIE objects

rowSums-methods: ~~ Methods for Function rowSums and rowMeans ~~

unwrap: Unwrap

wrap: Wrap

write.magpie: Write MAgPIE-object to file

write.report: Write file in report format

write.reportProject: Write file in specific project format

Functions

add_columns Man page
add_dimension Man page
as.array,ANY-method Man page
as.array,magpie-method Man page
as.array-methods Man page
as.data.frame Man page
as.data.frame,ANY-method Man page
as.data.frame,magpie-method Man page
as.data.frame-methods Man page
as.magpie Man page
as.magpie,array-method Man page
as.magpie,data.frame-method Man page
as.magpie,lpj-method Man page
as.magpie,magpie-method Man page
as.magpie-methods Man page
as.magpie,NULL-method Man page
as.magpie,numeric-method Man page
as.magpie,quitte-method Man page
as.quitte Man page
as.quitte,data.frame-method Man page
as.quitte,magpie-method Man page
as.quitte-methods Man page
as.quitte,quitte-method Man page
clean_magpie Man page
collapseNames Man page
colMeans,ANY-method Man page
colMeans,magpie-method Man page
colMeans-methods Man page
colSums,ANY-method Man page
colSums,magpie-method Man page
colSums-methods Man page
complete_magpie Man page
convert.report Man page
copy.attributes Man page
copy.attributes<- Man page
copy.magpie Man page
copy.magpie Man page
dimCode Man page
dimSums Man page
.escapeRegex Man page
fulldim Man page
getCells Man page
getCells<- Man page
getComment Man page
getComment<- Man page
getCPR Man page
.getDim Man page
getNames Man page
getNames<- Man page
getRegionList Man page
getRegionList<- Man page
getRegions Man page
getRegions<- Man page
getSets Man page
getSets<- Man page
getYears Man page
getYears<- Man page
head.magpie Man page
is.magpie Man page
is.quitte Man page
is.spatial Man page
is.temporal Man page
isYear Man page
lowpass Man page
magclass Man page
magclass-package Man page
[<-,magpie,ANY,ANY-method Man page
[,magpie,ANY,ANY-method Man page
magpie-class Man page
magpieComp Man page
magpie_expand Man page
[<-,magpie-method Man page
[,magpie-method Man page
magpiesort Man page
make.ISOyear Man page
mbind Man page
mbind2 Man page
mcalc Man page
mcalc<- Man page
mselect Man page
mselect<- Man page
ncells Man page
ndata Man page
nregions Man page
nyears Man page
old_dim_convention Man page
Ops,magpie,magpie-method Man page
place_x_in_y Man page
print.magpie Man page
quitte-class Man page
read.magpie Man page
read.report Man page
remind2magpie Man page
round,magpie-method Man page
round-methods Man page
rowMeans,ANY-method Man page
rowMeans,magpie-method Man page
rowMeans-methods Man page
rowSums,ANY-method Man page
rowSums,magpie-method Man page
rowSums-methods Man page
setCells Man page
setComment Man page
setNames Man page
setNames,magpie-method Man page
setNames,NULL-method Man page
setYears Man page
tail.magpie Man page
unwrap Man page
wrap Man page
write.magpie Man page
write.report Man page
write.reportProject Man page

Files

magclass
magclass/NAMESPACE
magclass/data
magclass/data/population_magpie.rda
magclass/R
magclass/R/getDim.R magclass/R/as.magpie.R magclass/R/rowMeans-method.R magclass/R/add_columns.R magclass/R/copy.attributes.R magclass/R/nregions.R magclass/R/magpieResolution.R magclass/R/ncells.R magclass/R/ndata.R magclass/R/copy.magpie.R magclass/R/make.ISOyear.R magclass/R/getComment.R magclass/R/onLoad.R magclass/R/write.magpie.R magclass/R/as.array.R magclass/R/mcalc.R magclass/R/collapseNames.R magclass/R/isYear.R magclass/R/colMeans-method.R magclass/R/getCells.R magclass/R/is.spatial.R magclass/R/nyears.R magclass/R/getNames.R
magclass/R/sysdata.rda
magclass/R/pmin-method.R magclass/R/convert.report.R magclass/R/lowpass.R magclass/R/remind2magpie.R magclass/R/old_dim_convention.R magclass/R/getRegionList.R magclass/R/write.report.R magclass/R/mselect.R magclass/R/magpie-class.R magclass/R/setComment.R magclass/R/read.magpie.R magclass/R/write.reportProject.R magclass/R/lin.convergence.R magclass/R/fulldim.R magclass/R/duplicates_check.R magclass/R/head.magpie.R magclass/R/wrap.R magclass/R/calibrate_it.R magclass/R/clean_magpie.R magclass/R/place_x_in_y.R magclass/R/new.magpie.R magclass/R/magpiesort.R magclass/R/round-method.R magclass/R/is.temporal.R magclass/R/time_interpolate.R magclass/R/getYears.R magclass/R/tail.magpie.R magclass/R/mbind.R magclass/R/as.data.frame.R magclass/R/setCells.R magclass/R/is.quitte.R magclass/R/getCPR.R magclass/R/complete_magpie.R magclass/R/print.magpie.R magclass/R/unwrap.R magclass/R/dimCode.R magclass/R/is.magpie.R magclass/R/magpie_expand.R magclass/R/magpieComp.R magclass/R/convergence.R magclass/R/escapeRegex.R magclass/R/as.quitte.R magclass/R/add_dimension.R magclass/R/colSums-method.R magclass/R/tidy2magpie.R magclass/R/setYears.R magclass/R/ops-method.R magclass/R/getRegions.R magclass/R/read.report.R magclass/R/mbind2.R magclass/R/rowSums-method.R magclass/R/dimSums.R magclass/R/getSets.R magclass/R/setNames_method.R
magclass/MD5
magclass/DESCRIPTION
magclass/man
magclass/man/read.magpie.Rd magclass/man/copy.magpie.Rd magclass/man/dimSums.Rd magclass/man/getSets.Rd magclass/man/write.report.Rd magclass/man/getCPR.Rd magclass/man/magpie_expand.Rd magclass/man/magpie-class.Rd magclass/man/quitte-class.Rd magclass/man/getNames.Rd magclass/man/getDim.Rd
magclass/man/magclassdata.rd
magclass/man/mbind.Rd
magclass/man/population_magpie.rd
magclass/man/add_dimension.Rd magclass/man/magpiesort.Rd magclass/man/isYear.Rd magclass/man/make.ISOyear.Rd magclass/man/getYears.Rd magclass/man/fulldim.Rd magclass/man/magpieComp.Rd magclass/man/round-methods.Rd magclass/man/getCells.Rd magclass/man/add_columns.Rd
magclass/man/time_interpolate.rd
magclass/man/getRegionList.Rd
magclass/man/new.magpie.rd
magclass/man/is.temporal.Rd
magclass/man/lin.convergence.rd
magclass/man/lowpass.Rd magclass/man/escapeRegex.Rd magclass/man/mcalc.Rd
magclass/man/convergence.rd
magclass/man/magpieResolution.rd
magclass/man/colSums-methods.Rd magclass/man/as.array-methods.Rd magclass/man/mselect.Rd magclass/man/print-methods.Rd magclass/man/rowSums-methods.Rd magclass/man/unwrap.Rd magclass/man/wrap.Rd magclass/man/dimCode.Rd magclass/man/complete_magpie.Rd magclass/man/convert.report.Rd magclass/man/magclass-package.Rd magclass/man/head-methods.Rd magclass/man/as.dataframe-methods.Rd magclass/man/clean_magpie.Rd magclass/man/read.report.Rd magclass/man/getRegions.Rd magclass/man/old_dim_convention.Rd magclass/man/write.reportProject.Rd magclass/man/getComment.Rd magclass/man/copy.attributes.Rd
magclass/man/calibrate_it.rd
magclass/man/ncells.Rd magclass/man/place_x_in_y.Rd magclass/man/remind2magpie.Rd magclass/man/collapseNames.Rd magclass/man/write.magpie.Rd
magclass/LICENSE

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.