InterSedes ISSN Impreso: 1409-4746 ISSN electrónico: 2215-2458

OAI: https://revistas.ucr.ac.cr/index.php/intersedes/oai
Creation of Statistical Maps in R: the case of the Cantonal Human Development Index for Costa Rica
PDF (Español (España))
HTML (Español (España))

Keywords

scientific statistics
demographic statistics
statistical maps
geography
graph
estadísticas científicas
estadísticas demográficas
mapas estadísticos
geografía
gráfico

How to Cite

Bonilla Carrión, R. E., & Méndez Montero, N. M. (2023). Creation of Statistical Maps in R: the case of the Cantonal Human Development Index for Costa Rica. InterSedes, 24(50), 405–422. https://doi.org/10.15517/isucr.v24i50.54009

Abstract

Statistical maps are thematic representations for the graphing of statistical information from administrative units. For the representation of maps, there is a wide range of software, generally high cost and few free software for representation. R is free computational statistical and graphing software available for research. The objective of the article is to present a routine for the graphing of statistical maps using R and its different libraries, through the case of the Cantonal Human Development Index (HDI). R and the ggplot2, ggspatial, sf, rgdal, plyr, ggrepel and readxl libraries were obtained. The base map was obtained from a vector map in GeoJSON format and the information at the canton level was obtained from an EXCEL spreadsheet, with information from the Cantonal Human Development Atlas, 2021. The vector map information was integrated with EXCEL and did the graphical representation in R. In the generated map, the cantons of Santa Ana, Escazú and Belén have the highest HDI values among all the cantons and, in general, the cantons of Heredia are the ones with the highest values as a whole. The canton of Matina in the province of Limón has the lowest HDI in the country. The resulting map in R is a high-resolution graph that can be exported to the most popular graphic formats JPG, TIFF, PNG, BMP, thus being R a free software alternative to generate high resolution statistical maps.

https://doi.org/10.15517/isucr.v24i50.54009
PDF (Español (España))
HTML (Español (España))

References

Aragón, L. G. (2016). Estadística en el área de las Ciencias Sociales y Administrativas (1.a ed.). Alfaomega.

Anselin, L. (2022). GeoDa (1.20) [Software]. https://geodacenter.github.io

Asociación gvSIG (2022). gVSIG (2.5.1) [Software]. http://www.gvsig.com

Autodesk (2022). AutoCAD Map 3D (2022) [Software]. http://www.autodesk.com

Avello Martínez, R., & Seisdedo Losa, A. (2017). El procesamiento estadístico con R en la investigación científica. Medisur 15(5), 583-586.

Barbosa, A. M., Bencatel, J., Matos, J., Sousa, L. G., & Álvares, F. (2018). Mapas interactivos en software libre como herramienta de investigación y divulgación en biogeografía. Bosque mediterráneo y humedales 2(2), 982-983. https://dialnet.unirioja.es/servlet/articulo?codigo=6515331

Bentley Systems (2022). Bentley Map (8.1) [Software]. https://www.bentley.com

Blue Marble Geographic (2022). Global Mapper (21.0) [Software].

https://www.bluemarblegeo.com/global-mapper

Caliper Corporation (2022). Maptitude (2022) [Software].

https://www.caliper.com/maptovu.htm

Clark Laboratories (2022). IDRISI (19) [Software]. https://clarklabs.org

CNRS France (2022). OrbisGIS (5.1) [Software]. http://orbisgis.org

Delorme (2022). Xmap (1.1.2) [Software]. https://www.environmental-expert.com

Envitia (2022). MapRite (1.3.8) [Software]. https://www.envitia.com

ESRI. (2022). ArcGIS (10.3.1) [Software]. http://www.esri.com

General Electric (2022). Smallworld (5.0) [Software]. https://www.ge.com

Geobis International (2022). MapInfo Professional (16.0.4) [Software]. http://www.geobis.com

Georgia Tech Research Institute (2022). FalconView (5.1) [Software]. http://www.falconview.org

Golden Software (2022). MapViewer (8.1) [Software]. https://www.goldensoftware.com

GRASS Development Team (2022). GRASS GIS (7.8) [Software]. https://grass.osgeo.org

Hexagon Geospatial (2022). Geomedia (16.5) [Software]. https://www.hexagongeospatial.com

Maass S. & Valdez Pérez María Eugenia. (2003). Principios básicos de cartografía y cartografía automatizada. Universidad Autónoma del Estado de México.

Hijmans, R. (2022). Diva GIS (7.5) [Software]. https://www.diva-gis.org

Lara, R. C. H. (2013). Herramientas de Software Libre para Aplicaciones en Ciencias e Ingeniería. Revista Politécnica, 32. https://revistapolitecnica.epn.edu.ec/ojs2/index.php/revista_politecnica2/article/view/30

Lindsay, J. (2022). Whitebox GAT (3.4.0) [Software]. https://mappinggis.com

Manifold (2022). Manifold GIS (9.0) [Software]. https://manifold.net

MapMaker (2022). MapMaker Pro (5.0) [Software]. https://mapmaker.com

MapWindow Open Source Team (2022). MapWindow (4.8.8) [Software]. https://www.mapwindow.org

Oliden, P. E. (2009). ¿Existe vida más allá del SPSS? Descubre R. Psicothema, 21(4), 652-655. https://www.psicothema.com/pdf/3686.pdf

Programa de las Naciones Unidas para el Desarrollo. (2021). Atlas de desarrollo humano cantonal, 2021. 01-Abr-2022, de Programa de las Naciones Unidas para el Desarrollo. Sitio web: https://www.cr.undp.org/content/costarica/es/home/atlas-de-desarrollo-humano-cantonal.html

Quantum GIS (2022). QGIS 2 (2.8) [Software]. https://www.qgis.org

Quantum GIS (2022). QGIS 3 (3.28) [Software]. https://www.qgis.org

R Core Team (2021). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/

SAGA GIS Development Team (2022). SAGA GIS (7.2.0) [Software]. https://saga-gis.sourceforge.io

Refractions Research (2022). uDig (1.2.1) [Software]. http://udig.refractions.net

Salas, C. (2008). ¿Por qué comprar un programa estadístico si existe R?. Ecología austral, 18(2), 223-231. http://www.scielo.org.ar/pdf/ecoaus/v18n2/v18n2a07.pdf

Schield, M. (2006). Statistical literacy survey analysis: Reading graphs and tables of rates and percentages. In Proceedings of the Sixth International Conference on Teaching Statistics. https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.144.5687&rep=rep1&type=pdf

Steiniger, S; Blake L & M. Michaud (2022). OpenJump (2.1) [Software]. http://www.openjump.org

Supergeo Technologies (2022). SuperGIS (3.1) [Software]. https://www.supergeotek.com

Tatuk GIS Development Team (2022). Tatuk GIS (1.0) [Software]. https://www.tatukgis.com

TNTgis (2022). MicroImages (2.7.9) [Software]. https://www.microimages.com

University of Twente, The Netherlands. (2022). ILWIS (3.3) [Software]. https://www.itc.nl/ilwis

Velásquez, J. D., Montoya, O. L., & Castaño, N. (2010). ¿Es el proyecto R para la computación estadística apropiado para la inteligencia computacional?. Ingenieria y Competitividad, 12(2), 81-94. https://doi.org/10.25100/iyc.v12i2.2695

Wild, C. J., & Pfannkuch, M. (1999). Statistical thinking in empirical enquiry. International statistical review, 67(3), 223-248. https://doi.org/10.1111/j.1751-5823.1999.tb00442.x

Comments

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 3.0 Unported License.

Copyright (c) 2023 Roger Enrique Bonilla Carrión, Nelson Martín Méndez Montero

Downloads

Download data is not yet available.