Challenges in Geocoding: An Analysis of R Packages and Web Scraping Approaches
ISPRS International Journal of Geo-Information · 23.05.2024 · 13 (6) · 170
DOI: 10.3390/ijgi13060170 ↗Kurz gefasst
Fachartikel in der Zeitschrift ISPRS International Journal of Geo-Information, online erschienen am 23.05.2024. Verfasst von Virgilio Pérez und 1 weiteren Autor:innen. Die Arbeit wurde bisher 18-mal zitiert (Crossref). Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Department of Education, Universities, and Employment of Valencian Government, Spanish Ministry of Science, Innovation and Universities.
Abstract (Originalsprache)
Georeferenced data are crucial for addressing societal spatial challenges, as most corporate and governmental information is location-compatible. However, many open-source solutions lack automation in geocoding while ensuring quality. This study evaluates the functionalities of various R packages and their integration with external APIs for converting postal addresses into geographic coordinates. Among the fifteen R methods/packages reviewed, tidygeocoder stands out for its versatility, though discrepancies in processing times and missing values vary by provider. The accuracy was assessed by proximity to original dataset coordinates (Madrid street map) using a sample of 15,000 addresses. The results indicate significant variability in performance: MapQuest was the fastest, ArcGIS the most accurate, and Nominatim had the highest number of missing values. To address these issues, an alternative web scraping methodology is proposed, substantially reducing the error rates and missing values, but raising potential legal concerns. This comparative analysis highlights the strengths and limitations of different geocoding tools, facilitating better integration of geographic information into datasets for researchers and social agents.
Förderung
- Department of Education, Universities, and Employment of Valencian Government
- Spanish Ministry of Science, Innovation and Universities
Zitieren
APA
Pérez, V., & Aybar, C. (2024). Challenges in Geocoding: An Analysis of R Packages and Web Scraping Approaches. ISPRS International Journal of Geo-Information, 13(6), 170. https://doi.org/10.3390/ijgi13060170
Vancouver
Pérez V, Aybar C. Challenges in Geocoding: An Analysis of R Packages and Web Scraping Approaches. ISPRS International Journal of Geo-Information. 2024;13(6):170. doi:10.3390/ijgi13060170
BibTeX
@article{Prez2024,
author = {Pérez, Virgilio and Aybar, Cristina},
title = {Challenges in Geocoding: An Analysis of R Packages and Web Scraping Approaches},
journal = {ISPRS International Journal of Geo-Information},
year = {2024},
volume = {13},
number = {6},
pages = {170},
doi = {10.3390/ijgi13060170}
}
EUVIMED