Author
Listed:
- Kruszyk Robert
(Institute of Geoecology and Geoinformation, Adam Mickiewicz University in Poznań, Poznań, Poland)
- Dmowska Anna
(Institute of Geoecology and Geoinformation, Adam Mickiewicz University in Poznań, Poznań, Poland)
- Majewski Mikołaj
(Institute of Geoecology and Geoinformation, Adam Mickiewicz University in Poznań, Poznań, Poland)
- Szpikowshi Józef
(Institute of Geoecology and Geoinformation, Adam Mickiewicz University in Poznań, Poznań, Poland)
Abstract
Environmental monitoring requires effective data collection, management and presentation. With the increasing amount of monitoring data, it is becoming increasingly important to develop tools for effective data management and visualisation. This paper explores the potential of integrating the PostgreSQL database system with the R environment to automate the processing, analysis and reporting of multidimensional environmental data. The results of hydrological monitoring conducted as part of the Integrated Monitoring of the Natural Environment (ZMŚP) programme were used as a case study. The basic component of the ZMŚP programme’s IT system is a relational database, where the results of environmental monitoring are stored. This database serves as a data source for the data warehouse. The data processing process, which includes archiving, verification and aggregation, uses Structured Query Language (SQL) and the procedural language PL/pgSQL. In order to generate interactive visualisations and automate reporting, the R programming environment was used in conjunction with the R Markdown tool and the plotly library. The combination of the PostgreSQL system with the plotly package in the R environment offers a number of benefits in terms of data visualisation and analysis, while also serving as an example of the use of Online Analytical Processing (OLAP) tools in the analysis and presentation of environmental data. The use of open-source solutions not only significantly reduces implementation costs but also increases the availability of technology to a wide range of users, including public institutions involved in environmental monitoring.
Suggested Citation
Kruszyk Robert & Dmowska Anna & Majewski Mikołaj & Szpikowshi Józef, 2025.
"Integrating Postgresql and R: Open-Source Tools For Processing and Reporting Monitoring Data,"
Quaestiones Geographicae, Sciendo, vol. 44(3), pages 159-173.
Handle:
RePEc:vrs:quageo:v:44:y:2025:i:3:p:159-173:n:1011
DOI: 10.14746/quageo-2025-0032
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:vrs:quageo:v:44:y:2025:i:3:p:159-173:n:1011. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Peter Golla (email available below). General contact details of provider: https://www.sciendo.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.