Releases: ipeaGIT/geobr
Releases · ipeaGIT/geobr
v1.9.1
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
v1.9.0
Major changes
- Function
read_health_facilities()
now has a new parameterdate
, which will allow users to access data for different dates of reference. The plan is to have at least one update of this data set per year. Closes #334. - Functions
read_urban_area()
andread_metro_area()
now have a new parametercode_state
, which will allow users to filter selected states. Closes #338
Bug fix
- Using
data.table::rbindlist()
to rind data was throwing errors when some observations were of classPOLYGONS
and others wereMULTIPOLYGONS
. This has now been replaced withdplyr::bind_rows()
at a very small performance penalty. Closes #346.
New data
- schools for 2023
- health facilities for 202303
- census tracts for 2020 and 2022
v1.8.2
CRAN request
- Fixed issue to make sure geobr uses suggested packages conditionally
Minor changes
- Fixed non-ASCII characters in data
geobr::grid_state_correspondence_table()
v1.8.1
CRAN request
- geobr now uses suggested packages conditionally
v1.8.0
New function
read_capitals()
to download either a spatialsf
object with the location of the municipal seats (sede dos municipios) of state capitals, or adata.frame
with the names of codes of state capitals. Closes #243
Minor changes
- Update intro vignette to show how to use geobr together with the new censobr sister package.
Bug fixes
- fixed bug from conflict between
sf
anddata.table
that was messing with plot extent. Closes #284. - fixed bug from conflicts between
plotly
anddata.table
. Closes #279. - fixed bug in
cep_to_state()
function. Closes #317. - fixed bug in progress bar. Closes #154.
- The
lookup_muni()
anddownload_metadata()
functions are now more robust to internet connection failures.
v1.7.0
Data release
v1.6.5
v1.6.4
bug fixes
- Fixed bug crashing on Solaris.
v1.6.3
v1.6.2
geobr v1.6.2
Minor changes
- Added package
crul
do geobr dependencies.