ipeaGIT / geobr

Easy access to official spatial data sets of Brazil in R and Python
https://ipeagit.github.io/geobr/
790 stars 118 forks source link

Searching for a city spatial dataframe #197

Closed ksw9 closed 3 years ago

ksw9 commented 3 years ago

Hi,

Thank you for a wonderful resource! I had a quick question about finding the spatial dataframe for the city of Dourados in Mato Grosso do Sul state. For the city of Campo Grande, I was able to use the following:

nei <- read_neighborhood(2010)
nei_cg <- subset(nei, name_muni=='Campo Grande')

However, I wasn't able to do this for Dourados. I'm wondering if there's another function I should be using to access city polygons?

Thank you so much in advance! Best,

rafapereirabr commented 3 years ago

Hi Katie. Apologies for my late response. Unfortunately, IBGE only makes the neighborhood info for some cities. Hopefully the number of cities with this info will increase with the next population census.