
uygeo provides ready-to-use geospatial data for Uruguay
as sf
objects. The package is inspired by crgeo and
follows the same design philosophy: minimal dependencies, tidy data, and
compatibility with the tidyverse ecosystem.
You can install the development version of uygeo from
GitHub:
# install.packages("pak")
pak::pak("ManuelSpinola/uygeo")| Dataset | Description | Rows |
|---|---|---|
uy |
Country boundary of Uruguay | 1 |
uy_departamentos |
Administrative divisions (19 departamentos) | 19 |
library(uygeo)
library(ggplot2)
ggplot(uy) +
geom_sf(fill = "#009FCC", color = "white") +
theme_minimal() +
labs(title = "Uruguay")ggplot(uy_departamentos) +
geom_sf(fill = "#009FCC", color = "white") +
theme_minimal() +
labs(title = "Departamentos de Uruguay")library(sf)
ggplot(uy_departamentos) +
geom_sf(fill = "#E8F4F8", color = "#009FCC") +
geom_sf_text(aes(label = NOMDEPTO), size = 2.5, color = "gray30") +
theme_void() +
labs(
title = "Uruguay",
subtitle = "División departamental",
caption = "Fuente: INE Uruguay, Censo 2023"
)citation("uygeo")To cite uygeo in publications use:
Manuel Spinola (2025). uygeo: Geospatial Data for Uruguay. R package
version 0.1.0. https://github.com/ManuelSpinola/uygeo
A BibTeX entry for LaTeX users is:
@Manual{,
title = {uygeo: Geospatial Data for Uruguay},
author = {Manuel Spinola},
year = {2025},
note = {R package version 0.1.0},
url = {https://github.com/ManuelSpinola/uygeo},
}
MIT © Manuel Spinola