Showing posts with label geobr. Show all posts
Showing posts with label geobr. Show all posts

Monday, March 2, 2020

geobr v1.2 is on CRAN




geobr is an R package to download official spatial data sets of Brazil. It includes more than 20 data sets available at various geographic scales and for various years with harmonized attributes, projection and topology





News in this release: 
  • the package is much faster 
  • new data on metropolitan areas : read_metro_areas
  • new data on municipal seats (sede dos municipios) : read_municipal_seat
  • new fun to look up code of municipalities : lookup_muni
  • new fun to list all data sets available in geobr : list_geobr

Tuesday, December 3, 2019

geobr v1.1 is on CRAN


Good news! The new version of geobr v1.1 has been published on CRAN.

The geobr package in R is probably the easiest and fastest way to download shapefiles and official spatial data sets of Brazil. The package includes a wide range of geospatial data available at various geographic scales and for various years with harmonized attributes, projection and topology.

You can find a simple tutorial on how to use the package here.


The new release of geobr v1.1 includes 19 data sets:
  1. country
  2. region
  3. state
  4. meso region
  5. micro region
  6. intermediate region
  7. immediate region 
  8. municipality
  9. weighting area 
  10. census tract 
  11. statistical grid
  12. urban areas
  13. health facilities
  14. indigenous land
  15. conservation units 
  16. biomes
  17. legal Amazon 
  18. semiarid
  19.  disaster risk areas

Saturday, October 26, 2019

The urban footprint of the largest urban areas of Brazil

All my procrastination energy led to me to create this nice little image comparing the footprint of the largest urban agglomeration in Brazil. I created this figure using R and geobr, a package that facilitates downloading official geospatial data of Brazil (a quick intro to geobr here). In our latest update, we included official data on the urban footprint of all Brazilian cities in 2005 and 2015.


[click on the image to enlarge]

Thursday, September 26, 2019

geobr: data updates

Some of you are already familiar with geobr, an R package that we developed in Ipea to facilitate downloading official spatial data sets of Brazil (a quick intro to geobr here). The stable version 1.0 was published on CRAN a couple of months ago. Since then, we have added some new data sets.

geobr now brings official spatial data of natural biomes, indigenous lands of all ethnicities in Brazil according to stage of demarcation, and risk areas prone to landslides and floods in Brazil. These data sets are currently only available in the development version of the package, wich can be installed with devtools::install_github("ipeaGIT/geobr") .


Monday, August 12, 2019

geobr: easy access to official spatial data sets of Brazil

I'm glad to annouce that geobr is now officially available on CRAN. Here and here are quick intros on how to use geobr to get easy and quick access to shape files and other official spatial data sets of Brazil. The package currently includes several data sets for various years such as states, regions, municipalities, census tracts, statistical grid and others. The github repository is this, in case you want to keep track of the latest developments.

The package was developed by my team and I at the Institute for Applied Economic Research (Ipea). We are constantly working to expand and improve the package, so if you have any suggestions/contributions, please feel free to open an issue on Github.



Monday, July 1, 2019

geobr: shapefiles and official spatial data sets of Brazil in R

In 2012, I published here a blog post about where to find shapefiles of Brazil. Since then, this has become one of the most popular posts in 9 years of the blog. However, the links to the original data sets change every now and then, and it gets a bit tricky to find the most up to date data. My team and I at the Institute for Applied Economic Research (Ipea) have created geobr, an R package that allows users to easily access shapefiles of the Brazilian Institute of Geography and Statistics (IBGE) and other official spatial data sets of Brazil.

The geobr package currently includes a variety of data sets, such as the shapefiles of municipalities and states (from 1872 to 2018), census weighting areas, a spatial grid with population count at a resolution of 200 x 200 meters, a geolocated database of health facilities in the country etc. All the data sets are read into R as sf data. We will gradually add other databases to the package, but feel free to make specific requests and suggestions by opening new issues on the GitHub page of geobr or tweeting the hashtag #geobr.

The advantage of geobr: Intuitive syntax that provides easy and quick access to a wide variety shapefiles and official spatial data sets with updated geometries for various years using harmonazied attributes and geographic projections across geographies and years.




Here is a quick intro to geobr: