{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T14:07:56Z","timestamp":1790086076835,"version":"4.0.1"},"reference-count":59,"publisher":"MDPI AG","issue":"4","license":[{"start":{"date-parts":[[2024,4,20]],"date-time":"2024-04-20T00:00:00Z","timestamp":1713571200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"BEAGx\u2014Gembloux Agro-Bio Tech\u2014University of Li\u00e8ge"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Data"],"abstract":"<jats:p>The present article is intended to serve an educational purpose for data scientists and students who already have experience with the R language and which to start using it for geospatial analysis and map creation. The basic concepts of raster data, vector data, CRS and datum are first presented along with a basic workflow to conduct reproducible geospatial research in R. Examples of important types of maps (scatter, bubble, choropleth, hexbin and faceted) created from open-source environmental data are illustrated and their practical implementation in R is discussed. Through these examples, essential manipulations on geospatial vector data are demonstrated (reading, transforming CRS, creating geometries from scratch, buffer zones around existing geometries and intersections between geometries).<\/jats:p>","DOI":"10.3390\/data9040058","type":"journal-article","created":{"date-parts":[[2024,4,22]],"date-time":"2024-04-22T09:53:52Z","timestamp":1713779632000},"page":"58","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":6,"title":["Introduction to Reproducible Geospatial Analysis and Figures in R: A Tutorial Article"],"prefix":"10.3390","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-6051-528X","authenticated-orcid":false,"given":"Philippe","family":"Maesen","sequence":"first","affiliation":[{"name":"BEAGx, Faculty of Gembloux Agro-Bio Tech, University of Li\u00e8ge, 5030 Gembloux, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5597-4991","authenticated-orcid":false,"given":"Edouard","family":"Salingros","sequence":"additional","affiliation":[{"name":"BEAGx, Faculty of Gembloux Agro-Bio Tech, University of Li\u00e8ge, 5030 Gembloux, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2024,4,20]]},"reference":[{"key":"ref_1","unstructured":"R Core Team (2023). R: A Language and Environment for Statistical Computing, R Foundation for Statistical Computing."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"356","DOI":"10.21273\/HORTTECH05051-22","article-title":"Trends in Statistical Analysis Software Use for Horticulture Research between 2005 and 2020","volume":"32","author":"Curtis","year":"2022","journal-title":"HortTechnology"},{"key":"ref_3","first-page":"e12639","article-title":"Trends in the Usage of Statistical Software and Their Associated Study Designs in Health Sciences Research: A Bibliometric Analysis","volume":"13","author":"Masuadi","year":"2021","journal-title":"Cureus"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Stodden, V., Leisch, F., and Peng, R.D. (2014). Implementing Reproducible Computational Research, Chapman & Hall\/CRC.","DOI":"10.1201\/b16868"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Xie, Y. (2015). Dynamic Documents with R and knitr, Chapman & Hall\/CRC. [2nd ed.].","DOI":"10.1201\/b15166"},{"key":"ref_6","unstructured":"Xie, Y. (2023). knitr: A General-Purpose Package for Dynamic Report Generation in R, R Foundation for Statistical Computing. Available online: https:\/\/rdrr.io\/cran\/knitr\/."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Xie, Y., Allaire, J., and Grolemund, G. (2018). R Markdown: The Definitive Guide, Chapman & Hall\/CRC.","DOI":"10.1201\/9781138359444"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Xie, Y., Dervieux, C., and Riederer, E. (2020). R Markdown Cookbook, Chapman & Hall\/CRC.","DOI":"10.1201\/9781003097471"},{"key":"ref_9","unstructured":"Allaire, J., Xie, Y., Dervieux, C., McPherson, J., Luraschi, J., Ushey, K., Atkins, A., Wickham, H., Cheng, J., and Chang, W. (2023). rmarkdown: Dynamic Documents for R, R Foundation for Statistical Computing. R Package Version 2.25."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Xie, Y. (2016). bookdown: Authoring Books and Technical Documents with R Markdown, Chapman & Hall\/CRC.","DOI":"10.1201\/9781315204963"},{"key":"ref_11","unstructured":"Xie, Y. (2024). bookdown: Authoring Books and Technical Documents with R Markdown, R Foundation for Statistical Computing. R Package Version 0.38."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"101821","DOI":"10.1016\/j.gsf.2024.101821","article-title":"The replication crisis and its relevance to Earth Science studies: Case studies and recommendations","volume":"15","author":"Puetz","year":"2024","journal-title":"Geosci. Front."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"34","DOI":"10.1080\/08989621.2021.1962713","article-title":"Open science, the replication crisis, and environmental public health","volume":"30","author":"Hicks","year":"2021","journal-title":"Account. Res."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"e2023EA003458","DOI":"10.1029\/2023EA003458","article-title":"Notebooks Now! The Future of Reproducible Research","volume":"10","author":"Caprarelli","year":"2023","journal-title":"Earth Space Sci."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"8","DOI":"10.1016\/j.jmsacl.2021.09.002","article-title":"Reproducible manuscript preparation with RMarkdown application to JMSACL and other Elsevier Journals","volume":"22","author":"Holmes","year":"2021","journal-title":"J. Mass Spectrom. Adv. Clin. Lab"},{"key":"ref_16","unstructured":"Bauer, P.C., and Landesvatter, C. (2024, March 20). Writing a Reproducible Paper with R Markdown and Pagedown. Available online: https:\/\/osf.io\/preprints\/osf\/k8jhx."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"2939","DOI":"10.5194\/hess-23-2939-2019","article-title":"Using R in hydrology: A review of recent developments and future directions","volume":"23","author":"Slater","year":"2019","journal-title":"Hydrol. Earth Syst. Sci."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Peterson, M. (2017). Advances in Cartography and GIScience, Springer. Lecture Notes in Geoinformation and, Cartography.","DOI":"10.1007\/978-3-319-57336-6"},{"key":"ref_19","unstructured":"Hijmans, R.J. (2024). terra: Spatial Data Analysis, R Foundation for Statistical Computing. R Package Version 1.7\u201371."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"439","DOI":"10.32614\/RJ-2018-009","article-title":"Simple Features for R: Standardized Support for Spatial Vector Data","volume":"10","author":"Pebesma","year":"2018","journal-title":"R J."},{"key":"ref_21","unstructured":"Dunnington, D., Pebesma, E., and Rubak, E. (2024, March 20). s2: Spherical Geometry Operators Using the S2 Geometry Library. 2024. R Package 57 Version 1.1.6. Available online: https:\/\/github.com\/r-spatial\/s2."},{"key":"ref_22","unstructured":"GEOS Contributors (2021). GEOS Coordinate Transformation Software Library, Open Source Geospatial Foundation."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"GDAL\/OGR Contributors (2020). GDAL\/OGR Geospatial Data Abstraction Software LIBRARY, Open Source Geospatial Foundation.","DOI":"10.22224\/gistbok\/2020.4.1"},{"key":"ref_24","unstructured":"PROJ Contributors (2022). PROJ Coordinate Transformation Software Library, Open Source Geospatial Foundation."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Wickham, H. (2016). ggplot2: Elegant Graphics for Data Analysis, Springer.","DOI":"10.1007\/978-3-319-24277-4_9"},{"key":"ref_26","unstructured":"Dunnington, D. (2023). ggspatial: Spatial Data Framework for ggplot2, R Foundation for Statistical Computing. R Package Version 1.1.9."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"1","DOI":"10.18637\/jss.v084.i06","article-title":"tmap: Thematic Maps in R","volume":"84","author":"Tennekes","year":"2018","journal-title":"J. Stat. Softw."},{"key":"ref_28","unstructured":"Cheng, J., Schloerke, B., Karambelkar, B., and Xie, Y. (2023). leaflet: Create Interactive Web Maps with the JavaScript \u2018Leaflet\u2019 Library, R Foundation for Statistical Computing. R Package Version 2.2.1."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"144","DOI":"10.32614\/RJ-2013-014","article-title":"ggmap: Spatial Visualization with ggplot2","volume":"5","author":"Kahle","year":"2013","journal-title":"R J."},{"key":"ref_30","unstructured":"Cooley, D. (2024). mapdeck: Interactive Maps Using \u2018Mapbox GL JS\u2019 and \u2018Deck.gl\u2019, R Foundation for Statistical Computing. R Package Version 0.3.5."},{"key":"ref_31","unstructured":"Appelhans, T., Detsch, F., Reudenbach, C., and Woellauer, S. (2023). mapview: Interactive Viewing of Spatial Data in R, R Foundation for Statistical Computing. R Package Version 2.11.2."},{"key":"ref_32","unstructured":"Pebesma, E., and Bivand, R. (2023). Spatial Data Science with Applications in R, Chapman & Hall\/CRC. Chapman & Hall\/CRC The R Series."},{"key":"ref_33","unstructured":"Lott, R. (2019). Geographic Information\u2014Well-Known Text Representation of Coordinate Reference Systems, Open Geospatial Consortium. Technical Report 18-010r7."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Butler, H., Daly, M., Doyle, A., Gillies, S., Schaub, T., and Hagen, S. (2024, March 20). The GeoJSON Format. RFC 7946. 2016. Available online: https:\/\/www.rfc-editor.org\/info\/rfc7946.","DOI":"10.17487\/RFC7946"},{"key":"ref_35","unstructured":"Daisey, P., and Yutzler, J. (2024). OGC\u00ae GeoPackage Encoding Standard, Open Geospatial Consortium. Technical Report OGC 12-128r19."},{"key":"ref_36","unstructured":"Devys, E., Habermann, T., Heazel, C., Lott, R., and Even, R. (2019). OGC GeoTIFF Standard, Open Geospatial Consortium. Technical Report 19-008r4."},{"key":"ref_37","unstructured":"Hijmans, R.J. (2023). raster: Geographic Data Analysis and Modeling, R Foundation for Statistical Computing. R Package Version 3.6-26."},{"key":"ref_38","unstructured":"Schauberger, P., and Walker, A. (2023). openxlsx: Read, Write and Edit xlsx Files, R Foundation for Statistical Computing. R Package Version 4.2.5.2."},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"89","DOI":"10.1016\/j.cageo.2016.09.001","article-title":"A comprehensive open package format for preservation and distribution of geospatial data and metadata","volume":"97","author":"Pons","year":"2016","journal-title":"Comput. Geosci."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Lovelace, R., Nowosad, J., and Muenchow, J. (2020). Geocomputation with R, CRC Press.","DOI":"10.1201\/9780203730058"},{"key":"ref_41","unstructured":"International Organization for Standardization (2019). ISO 19162 Geographic Information\u2014Well-Known Text Representation of Coordinate Reference Systems, International Organization for Standardization. Technical Report ISO 19162:2019."},{"key":"ref_42","unstructured":"Massicotte, P., and South, A. (2023). rnaturalearth: World Map Data from Natural Earth, R Foundation for Statistical Computing. R package version 1.0.1."},{"key":"ref_43","unstructured":"South, A., Michael, S., and Massicotte, P. (2024). rnaturalearthdata: World Vector Map Data from Natural Earth Used in \u2018rnaturalearth\u2019, R Foundation for Statistical Computing. R package version 1.0.0."},{"key":"ref_44","unstructured":"Hernang\u00f3mez, D. (2024, March 20). giscoR: Download Map Data from GISCO API\u2014Eurostat. 2024. Available online: https:\/\/zenodo.org\/records\/10885303."},{"key":"ref_45","unstructured":"Hijmans, R.J., Barbosa, M., Ghosh, A., and Mandel, A. (2023). geodata: Download Geographic Data, R Foundation for Statistical Computing. R Package Version 0.5-9."},{"key":"ref_46","unstructured":"Wilkinson, L. (2005). The Grammar of Graphics, Springer. [2nd ed.]. Statistics and Computing."},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Oyana, T.J. (2020). Spatial Analysis with R: Statistics, Visualization, and Computational Methods, CRC Press.","DOI":"10.1201\/9781003021643"},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"770","DOI":"10.12688\/f1000research.122764.1","article-title":"rspatialdata: A collection of data sources and tutorials on downloading and visualising spatial data using R","volume":"11","author":"Moraga","year":"2022","journal-title":"F1000Research"},{"key":"ref_49","unstructured":"Poeplau, C., Don, A., and Flessa, H. (2024, March 20). Erste Bodenzustandserhebung Landwirtschaft\u2014Kerndatensatz. 2020. Available online: https:\/\/www.openagrar.de\/receive\/openagrar_mods_00054877."},{"key":"ref_50","unstructured":"Wickham, H., Fran\u00e7ois, R., Henry, L., M\u00fcller, K., and Vaughan, D. (2023). dplyr: A Grammar of Data Manipulation, R Foundation for Statistical Computing. R Package Version 1.1.3."},{"key":"ref_51","unstructured":"Garnier, S., Ross, N., Rudis, R., Camargo, P.A., Sciaini, M., and Scherer, C. (2024, March 20). viridis(Lite)\u2014Colorblind-Friendly Color Maps for R. 2023. Viridis Package Version 0.6.4. Available online: https:\/\/sjmgarnier.github.io\/viridis\/."},{"key":"ref_52","unstructured":"Wickham, H., and Seidel, D. (2022). scales: Scale Functions for Visualization, R Foundation for Statistical Computing. R Package Version 1.2.1."},{"key":"ref_53","doi-asserted-by":"crossref","first-page":"2171","DOI":"10.1002\/hyp.9740","article-title":"Global river hydrography and network routing: Baseline data and new approaches to study the world\u2019s large river systems","volume":"27","author":"Lehner","year":"2013","journal-title":"Hydrol. Process."},{"key":"ref_54","doi-asserted-by":"crossref","first-page":"486","DOI":"10.32614\/RJ-2016-061","article-title":"Measurement Units in R","volume":"8","author":"Pebesma","year":"2016","journal-title":"R J."},{"key":"ref_55","unstructured":"Barnes, R., and Sahr, K. (2023). dggridR: Discrete Global Grids, R Foundation for Statistical Computing. R Package Version 3.0.0."},{"key":"ref_56","unstructured":"Lowe, D., Gledson, A., Topping, D., Jay, C., and Reani, M. (2024, March 20). Britain Breathing 2016\u20132019 Air Quality and Meteorological Dataset, 2021. Available online: https:\/\/zenodo.org\/records\/5118563."},{"key":"ref_57","doi-asserted-by":"crossref","first-page":"43","DOI":"10.1038\/s41597-022-01135-6","article-title":"UK daily meteorology, air quality, and pollen measurements for 2016\u20132019, with estimates for missing data","volume":"9","author":"Reani","year":"2022","journal-title":"Sci. Data"},{"key":"ref_58","first-page":"9","article-title":"Classes and methods for spatial data in R","volume":"5","author":"Pebesma","year":"2005","journal-title":"R News"},{"key":"ref_59","unstructured":"Wilke, C.O. (2024). cowplot: Streamlined Plot Theme and Plot Annotations for \u2018ggplot2\u2019, R Foundation for Statistical Computing. R Package Version 1.1.3."}],"container-title":["Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2306-5729\/9\/4\/58\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T14:31:36Z","timestamp":1760106696000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2306-5729\/9\/4\/58"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,4,20]]},"references-count":59,"journal-issue":{"issue":"4","published-online":{"date-parts":[[2024,4]]}},"alternative-id":["data9040058"],"URL":"https:\/\/doi.org\/10.3390\/data9040058","relation":{},"ISSN":["2306-5729"],"issn-type":[{"value":"2306-5729","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,4,20]]}}}