magclass

R package | Data Class and Tools for Handling Spatial-Temporal Data

https://github.com/pik-piam/magclass

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

R package | Data Class and Tools for Handling Spatial-Temporal Data

Basic Info
  • Host: GitHub
  • Owner: pik-piam
  • License: lgpl-3.0
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 1.74 MB
Statistics
  • Stars: 5
  • Watchers: 2
  • Forks: 26
  • Open Issues: 4
  • Releases: 9
Created almost 9 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation

README.md

Data Class and Tools for Handling Spatial-Temporal Data

R package magclass, version 6.19.2

CRAN status DOI R build status codecov r-universe

Purpose and Functionality

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).

Installation

For installation of the most recent package version an additional repository has to be added in R:

r options(repos = c(CRAN = "@CRAN@", pik = "https://rse.pik-potsdam.de/r/packages")) The additional repository can be made available permanently by adding the line above to a file called .Rprofile stored in the home folder of your system (Sys.glob("~") in R returns the home directory).

After that the most recent version of the package can be installed using install.packages:

r install.packages("magclass")

Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):

r update.packages()

Tutorial

The package comes with vignettes describing the basic functionality of the package and how to use it. You can load them with the following command (the package needs to be installed):

r vignette("magclass-concept") # Concept behind magclass vignette("magclass-expansion") # MAGPIE Class Object Expansion vignette("magclass") # MAGPIE Class Tutorial vignette("magclass6") # magclass 6

Questions / Problems

In case of questions / problems please contact Jan Philipp Dietrich dietrich@pik-potsdam.de.

Citation

To cite package magclass in publications use:

Dietrich J, Bodirsky B, Bonsch M, Humpenoeder F, Bi S, Karstens K, Leip D, Sauer P, Baumstark L, Bertram C, Giannousakis A, Klein D, Neher I, Pehl M, Schultes A, Stevanovic M, Wang X, Beier F, Pflüger M, Richters O, Rein P (2025). "magclass: Data Class and Tools for Handling Spatial-Temporal Data." doi:10.5281/zenodo.1158580 https://doi.org/10.5281/zenodo.1158580, Version: 6.19.2, https://github.com/pik-piam/magclass.

A BibTeX entry for LaTeX users is

latex @Misc{, title = {magclass: Data Class and Tools for Handling Spatial-Temporal Data}, author = {Jan Philipp Dietrich and Benjamin Leon Bodirsky and Markus Bonsch and Florian Humpenoeder and Stephen Bi and Kristine Karstens and Debbora Leip and Pascal Sauer and Lavinia Baumstark and Christoph Bertram and Anastasis Giannousakis and David Klein and Ina Neher and Michaja Pehl and Anselm Schultes and Miodrag Stevanovic and Xiaoxi Wang and Felicitas Beier and Mika Pflüger and Oliver Richters and Patrick Rein}, doi = {10.5281/zenodo.1158580}, date = {2025-08-18}, year = {2025}, url = {https://github.com/pik-piam/magclass}, note = {Version: 6.19.2}, }

Owner

  • Name: Potsdam Integrated Assessment Modelling (PIAM)
  • Login: pik-piam
  • Kind: organization
  • Location: Potsdam Institute for Climate Impact Research (PIK), Germany

Tools developed for use with data and models related to PIK's research.

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'magclass: Data Class and Tools for Handling Spatial-Temporal Data'
version: 6.19.2
date-released: '2025-08-18'
abstract: 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).
authors:
- family-names: Dietrich
  given-names: Jan Philipp
  email: dietrich@pik-potsdam.de
  orcid: https://orcid.org/0000-0002-4309-6431
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Bodirsky
  given-names: Benjamin Leon
  email: bodirsky@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Bonsch
  given-names: Markus
- family-names: Humpenoeder
  given-names: Florian
  email: humpenoeder@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Bi
  given-names: Stephen
- family-names: Karstens
  given-names: Kristine
  email: karstens@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Leip
  given-names: Debbora
  email: leip@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Sauer
  given-names: Pascal
  email: pascal.sauer@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Baumstark
  given-names: Lavinia
  email: lavinia@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Bertram
  given-names: Christoph
  email: bertram@pik-potsdam.de
- family-names: Giannousakis
  given-names: Anastasis
  email: giannou@pik-potsdam.de
- family-names: Klein
  given-names: David
  email: dklein@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Neher
  given-names: Ina
- family-names: Pehl
  given-names: Michaja
  email: pehl@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Schultes
  given-names: Anselm
- family-names: Stevanovic
  given-names: Miodrag
  email: miodrag@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Wang
  given-names: Xiaoxi
  email: wang@pik-potsdam.de
- family-names: Beier
  given-names: Felicitas
  email: beier@pik-potsdam.de
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Pflüger
  given-names: Mika
- family-names: Richters
  given-names: Oliver
  affiliation: Potsdam Institute for Climate Impact Research
- family-names: Rein
  given-names: Patrick
  email: patrick.rein@pik-potsdam.de
  orcid: https://orcid.org/0000-0001-9454-8381
  affiliation: Potsdam Institute for Climate Impact Research
license: LGPL-3.0
keywords:
- tool
repository-code: https://github.com/pik-piam/magclass
doi: 10.5281/zenodo.1158580

GitHub Events

Total
  • Watch event: 1
  • Issue comment event: 10
  • Push event: 3
  • Pull request review comment event: 36
  • Pull request review event: 18
  • Pull request event: 11
  • Fork event: 1
  • Create event: 1
Last Year
  • Watch event: 1
  • Issue comment event: 10
  • Push event: 3
  • Pull request review comment event: 36
  • Pull request review event: 18
  • Pull request event: 11
  • Fork event: 1
  • Create event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 615
  • Total Committers: 24
  • Avg Commits per committer: 25.625
  • Development Distribution Score (DDS): 0.457
Past Year
  • Commits: 56
  • Committers: 5
  • Avg Commits per committer: 11.2
  • Development Distribution Score (DDS): 0.429
Top Committers
Name Email Commits
Jan Philipp Dietrich d****h@p****e 334
Stephen Bi s****b@p****e 126
Pascal Führlich p****h@p****e 43
florianh h****r@p****e 21
Kristine Karstens k****s@p****e 19
Mika Pflüger m****r@p****e 14
bodirsky b****y@p****e 9
David Klein d****n@p****e 8
Michaja Pehl p****l@p****e 8
giannou g****u@p****e 7
emolinab m****a@p****e 4
Antoine Levesque l****e@p****e 3
Falk Benke f****e@p****e 3
Johannes Koch j****h@p****e 3
mishko s****c@p****e 2
Bjoern Soergel s****l@p****e 2
Debbora Leip l****p@p****e 2
FeBeier f****r@p****e 1
Isabelle Weindl w****l@p****e 1
Lavinia Baumstark b****k@p****e 1
Renato Rodrigues r****o@p****e 1
orichters o****r@p****e 1
pre-commit-ci[bot] 6****] 1
robinhasse r****r@p****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 19
  • Total pull requests: 121
  • Average time to close issues: 4 months
  • Average time to close pull requests: 6 days
  • Total issue authors: 12
  • Total pull request authors: 20
  • Average comments per issue: 1.74
  • Average comments per pull request: 0.45
  • Merged pull requests: 106
  • Bot issues: 0
  • Bot pull requests: 5
Past Year
  • Issues: 0
  • Pull requests: 10
  • Average time to close issues: N/A
  • Average time to close pull requests: 6 days
  • Issue authors: 0
  • Pull request authors: 5
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 2
Top Authors
Issue Authors
  • 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q (8)
  • johanneskoch94 (1)
  • barracuda156 (1)
  • cchrisgong (1)
  • bodirsky (1)
  • rsbivand (1)
  • Loisel (1)
  • Enchufa2 (1)
  • orichters (1)
  • giannou (1)
  • dklein-pik (1)
  • gabriel-abrahao (1)
Pull Request Authors
  • tscheypidi (56)
  • pfuehrlich-pik (13)
  • pascal-sauer (11)
  • 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q (10)
  • pre-commit-ci[bot] (7)
  • dklein-pik (5)
  • fbenke-pik (5)
  • flohump (4)
  • codeZeilen (3)
  • deleip (3)
  • orichters (3)
  • k4rst3ns (2)
  • mikapfl (2)
  • emolinab (2)
  • FelicitasBeier (2)
Top Labels
Issue Labels
enhancement (5) bug (5) question (2)
Pull Request Labels
enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 484 last-month
  • Total docker downloads: 43,390
  • Total dependent packages: 3
  • Total dependent repositories: 86
  • Total versions: 17
  • Total maintainers: 1
cran.r-project.org: magclass

Data Class and Tools for Handling Spatial-Temporal Data

  • Versions: 17
  • Dependent Packages: 3
  • Dependent Repositories: 86
  • Downloads: 484 Last month
  • Docker Downloads: 43,390
Rankings
Docker downloads count: 0.6%
Dependent repos count: 2.5%
Forks count: 3.2%
Dependent packages count: 10.9%
Average: 11.2%
Downloads: 24.5%
Stargazers count: 25.5%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10.0 depends
  • methods * depends
  • abind * imports
  • data.table * imports
  • forcats * imports
  • stats * imports
  • covr * suggests
  • knitr * suggests
  • ncdf4 * suggests
  • raster * suggests
  • rmarkdown * suggests
  • testthat * suggests
  • tibble * suggests
  • withr * suggests
.github/workflows/lucode2-check.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pat-s/always-upload-cache v3 composite
  • r-lib/actions/setup-pandoc v1 composite