Skip to content

Releases: ipeaGIT/geobr

v1.9.1

07 Sep 00:40
Compare
Choose a tag to compare

Minor changes

  • The read_municipality() has a new parameter keep_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 default FALSE 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

18 Apr 22:36
Compare
Choose a tag to compare

Major changes

  • Function read_health_facilities() now has a new parameter date, 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() and read_metro_area() now have a new parameter code_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 class POLYGONS and others were MULTIPOLYGONS. This has now been replaced with dplyr::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

09 Jan 13:06
Compare
Choose a tag to compare

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

21 Sep 12:50
Compare
Choose a tag to compare

CRAN request

  • geobr now uses suggested packages conditionally

v1.8.0

09 Sep 22:28
Compare
Choose a tag to compare

New function

  • read_capitals() to download either a spatial sf object with the location of the municipal seats (sede dos municipios) of state capitals, or a data.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 and data.table that was messing with plot extent. Closes #284.
  • fixed bug from conflicts between plotly and data.table. Closes #279.
  • fixed bug in cep_to_state() function. Closes #317.
  • fixed bug in progress bar. Closes #154.
  • The lookup_muni() and download_metadata() functions are now more robust to internet connection failures.

v1.7.0

12 Aug 22:12
Compare
Choose a tag to compare

Data release

v1.6.5

04 Jan 12:36
Compare
Choose a tag to compare

geobr v1.6.5

Minor changes

  • Remove packages cruland readr from geobr dependencies.
  • geobr now fails gracefully when server connection times out. Closed #259.

Bug fixes

  • Fixed check_connection() that was failing on Linux. Closed #269.

v1.6.4

04 Jan 02:00
Compare
Choose a tag to compare

bug fixes

  • Fixed bug crashing on Solaris.

v1.6.3

25 Jul 13:22
82ea9d4
Compare
Choose a tag to compare

geobr v1.6.3

bug fix

v1.6.2

09 Jul 00:36
Compare
Choose a tag to compare

geobr v1.6.2

Minor changes

  • Added package crul do geobr dependencies.