Download the latest version of the geometry and ubigeos corresponding to the official political division of the departament boundaries of Peru. For more information, visit INEI Spatial Data Portal.
Usage
get_departaments(
departamento = NULL,
dsn = NULL,
show_progress = TRUE,
quiet = TRUE,
timeout = 60
)Arguments
- departamento
Character. Name or names in a vector of the level-1 administrative boundary (department) to query. Case-insensitive.
- dsn
Character. Directory where the file will be saved. If
NULL, a temporary file is used.- show_progress
Logical. Show a cli progress bar. Default
TRUE.- quiet
Logical. Suppress info message from
sf::st_read().- timeout
Numeric. Seconds to wait for a response. Default 60.