{"title":"Creating Maps in R (Case Study: National Park “Fruška Gora”)","authors":"Milena Lakicevic","doi":"10.2478/contagri-2021-0008","DOIUrl":null,"url":null,"abstract":"Summary This paper aims to present the possibilities for creating maps in the programming language R. Even though R is primarily developed as a statistical program, its application in the area of mapping and spatial statistics is becoming frequent and highly relevant. Many R packages make the mapping process easier and user-friendly, and this paper presents the most commonly used ones: “leaflet”, “ggplot2” and “ggmap”. The selection of the R package depends on the user’s proficiency in R programming but also depends on the visual quality of the map the user wants to gain. Based on the questionnaire conducted in this research, the paper recommends application of the “leaflet” package for the beginners, the “ggplot2” package for medium proficient users, and the “ggmap” package for the most advanced R users. After creating maps in R it is possible to conduct additional analysis related to processing of the spatial data contained within, and this would be a recommendation for future research. In this paper, the mapping process is demonstrated on the case study of the National Park “Fruška gora” in Serbia, and different types of maps are presented.","PeriodicalId":221412,"journal":{"name":"Contemporary Agriculture","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2021-05-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Contemporary Agriculture","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2478/contagri-2021-0008","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Summary This paper aims to present the possibilities for creating maps in the programming language R. Even though R is primarily developed as a statistical program, its application in the area of mapping and spatial statistics is becoming frequent and highly relevant. Many R packages make the mapping process easier and user-friendly, and this paper presents the most commonly used ones: “leaflet”, “ggplot2” and “ggmap”. The selection of the R package depends on the user’s proficiency in R programming but also depends on the visual quality of the map the user wants to gain. Based on the questionnaire conducted in this research, the paper recommends application of the “leaflet” package for the beginners, the “ggplot2” package for medium proficient users, and the “ggmap” package for the most advanced R users. After creating maps in R it is possible to conduct additional analysis related to processing of the spatial data contained within, and this would be a recommendation for future research. In this paper, the mapping process is demonstrated on the case study of the National Park “Fruška gora” in Serbia, and different types of maps are presented.