Download the latest version of the geometry and ubigeos corresponding to the official political division of the district boundaries of Peru. For more information, visit INEI Spatial Data Portal.
Usage
get_districts(
departamento = NULL,
provincia = NULL,
distrito = NULL,
dsn = NULL,
show_progress = TRUE,
quiet = TRUE,
timeout = 60
)Arguments
- departamento
Character. Level-1 name. Case-insensitive.
- provincia
Character. Level-2 name. Case-insensitive.
- distrito
Character. Level-3 name. 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.
- quiet
Logical. Suppress info message.
- timeout
Numeric. Seconds to wait for a response. Default 60.