We're preparing a new version of {geobr} v2.0.0. The main changes planned to far are:
- using geoparquet files. This will make the package substantially more efficient, and more easily integrated with {censobr}
- new parameter
as_sf. Defaults to TRUE and the function returns an sf data.frame. If FALSE, the function returns an arrow dataset.
- several data issues reported on github have been fixed
Planned breaking changes
- The argument
year now cannot be NULL, it must be declared. This is to make sure users make conscious decisions regarding the year of reference they want to use.
- The function
read_health_regions() has been completely restructured
Here's a quick table to follow the progress:
✔️ : almost ready
✅: function implemented in the dev version of the package
Data functions
| Functions |
Data |
R |
Python |
read_country |
✅ |
✅ |
|
read_region |
✅ |
✅ |
|
read_state |
✅ |
✅ |
|
read_meso_region |
✅ |
✅ |
|
read_micro_region |
✅ |
✅ |
|
read_intermediate_region |
✅ |
✅ |
|
read_immediate_region |
✅ |
✅ |
|
read_municipality |
✅ |
✅ |
|
read_municipal_seat |
✅ |
✅ |
|
read_weighting_area |
✅ |
✅ |
|
read_census_tract |
✅ |
✅ |
|
read_statistical_grid |
✅ |
✅ |
|
read_metro_area |
✅ |
✅ |
|
read_urban_area |
✅ |
✅ |
|
read_amazon |
✅ |
✅ |
|
read_biomes |
✅ |
✅ |
|
read_conservation_units |
✅ |
✅ |
|
read_disaster_risk_area |
✅ |
✅ |
|
read_indigenous_land |
✅ |
✅ |
|
read_semiarid |
✅ |
✅ |
|
read_health_facilities |
✅ |
✅ |
|
read_health_region |
✅ |
✅ |
|
read_neighborhood |
✅ |
✅ |
|
read_schools |
✅ |
✅ |
|
read_urban_concentrations |
✅ |
✅ |
|
read_pop_arrangements |
✅ |
✅ |
|
read_comparable_areas |
✔️ temporarily suspended |
✔️temporarily suspended |
|
New functions
| Functions |
Data |
R |
Python |
read_favela |
✅ |
✅ |
|
read_quilombola_land |
✅ |
✅ |
|
read_pooling_places |
✅ |
✅ |
|
remove_islands |
✅ |
✅ |
|
Support functions
| Support functions |
R |
Python |
list_geobr |
✅ |
|
lookup_muni |
✅ |
|
cep_to_state |
✅ |
|
grid_state_correspondence_table |
✅ |
|
We're preparing a new version of {geobr} v2.0.0. The main changes planned to far are:
as_sf. Defaults toTRUEand the function returns ansf data.frame. IfFALSE, the function returns an arrow dataset.Planned breaking changes
yearnow cannot beNULL, it must be declared. This is to make sure users make conscious decisions regarding the year of reference they want to use.read_health_regions()has been completely restructuredHere's a quick table to follow the progress:
✔️ : almost ready
✅: function implemented in the dev version of the package
Data functions
read_countryread_regionread_stateread_meso_regionread_micro_regionread_intermediate_regionread_immediate_regionread_municipalityread_municipal_seatread_weighting_arearead_census_tractread_statistical_gridread_metro_arearead_urban_arearead_amazonread_biomesread_conservation_unitsread_disaster_risk_arearead_indigenous_landread_semiaridread_health_facilitiesread_health_regionread_neighborhoodread_schoolsread_urban_concentrationsread_pop_arrangementsread_comparable_areasNew functions
read_favelaread_quilombola_landread_pooling_placesremove_islandsSupport functions
list_geobrlookup_municep_to_stategrid_state_correspondence_table