This repository contains scripts to retrieve metadata and data from the PAGES C-PEAT Global Peatland Carbon Database published in the PANGAEA repository (Felden et al., 2023).
Two implementations are provided:
- R scripts (R Core Team, 2022) using the
pangaearpackage (Chamberlain et al., 2021) - Python Jupyter notebooks using the
pangaeapypackage (Huber at al., 2025)
We provide example R scripts example R scripts and an equivalent Python Jupyter Notebooks for accessing the PAGES’ C-PEAT data.
C-PEAT/
│
├── C-PEAT_download.Rproj # R project file
├── .gitignore # to exclude temporary and cache files
│
├── R-Scripts/ # example R scripts
│ ├── 01_download_all.R
│ ├── 02_geochemistry_data.R
│ └── 03_cal_age_data.R
│
├── Python-Scripts/ # example Python notebooks
│ ├── 01_download_all.ipynb
│ ├── 02_geochemistry_data.ipynb
│ └── 03_cal_age_data.ipynb
│
├── Data/ # final exported data tables (local folder only)
│ ├── ...
│ └── ...
│
├── Downloads/ # cache folder for pangaear package (local folder only)
│ ├── XXXXXX.tab
│ └── ...
│
└── README.md # project overview
Dana Ransby
Kathrin Riemann-Campe
Nicole Sanderson
- Chamberlain, S; Woo, K; MacDonald, A; Zimmerman, N; Simpson, G (2021). pangaear: Client for the 'Pangaea' Database. R package version 1.1.0, https://CRAN.R-project.org/package=pangaear.
- Felden, J; Möller, L; Schindler, U; Huber, R; Schumacher, S; Koppe, R; Diepenbroek, M; Glöckner, FO (2023) PANGAEA – Data Publisher for Earth & Environmental Science. Scientific Data, 10(1), 347, https://doi.org/10.1038/s41597-023-02269-x.
- Huber, R; Röttenbacher, J; Selke, N; CodeShredder; Spreckelen, F; Balamurugan, A; Lowe, S; Stocker, M; Kempf, D; Iris-Hinrichs; Schindler, U & qays abou housien. (2025). pangaea-data-publisher/pangaeapy: v1.1.0 (v1.1.0). Zenodo. https://doi.org/10.5281/zenodo.15749619
- R Core Team (2022). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/
Ransby, D; Riemann-Campe, K & Sanderson, N (2025). C-PEAT data retrieval from PANGAEA (R & Python). Zenodo.