Geospatial Data for Uruguay

Provides geospatial data for Uruguay, including country boundaries and administrative divisions (departments). Data are provided as 'sf' objects ready for use with the 'sf' and 'ggplot2' packages.


uygeo

R-CMD-check Lifecycle: experimental

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.

Installation

You can install the development version of uygeo from GitHub:

# install.packages("pak")
pak::pak("ManuelSpinola/uygeo")

Available datasets

Dataset Description Rows
uy Country boundary of Uruguay 1
uy_departamentos Administrative divisions (19 departamentos) 19

Usage

Country boundary

library(uygeo)
library(ggplot2)

ggplot(uy) +
  geom_sf(fill = "#009FCC", color = "white") +
  theme_minimal() +
  labs(title = "Uruguay")

Departamentos

ggplot(uy_departamentos) +
  geom_sf(fill = "#009FCC", color = "white") +
  theme_minimal() +
  labs(title = "Departamentos de Uruguay")

Label each departamento

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"
  )

Data sources

Related packages

  • crgeo — geospatial data for Costa Rica (same author)
  • sf — simple features for R

Citation

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},
  }

License

MIT © Manuel Spinola

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("uygeo")

0.1.0 by Manuel Spínola, 3 months ago


https://github.com/ManuelSpinola/uygeo


Report a bug at https://github.com/ManuelSpinola/uygeo/issues


Browse source code at https://github.com/cran/uygeo


Authors: Manuel Spínola [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests sf, ggplot2, dplyr, testthat


See at CRAN