Minor changes
- The
read_municipality()
has a new parameterkeep_areas_operacionais
, which allows users to control wether the data should keep the polygons of Lagoas dos Patos and Lagoa Mirim in the State of Rio Grande do Sul (considered as areas estaduais operacionais). The defaultFALSE
drops these two polygons. Closes #176. - Functions now include a
cache
parameter that allows users to decide whehter to keep files in cache or to force downloading them again. At the moment, files are only cached during the R session, but this is a step towards a future version of {geobr} when files will be based on permanent caching. - Now using
curl::multi_download()
to download files in parallel - Removed dependency on the {httr} package
- {geobr} now imports {fs} to use robust cross-platform file system operations
- Simplified and streamlined internal functions