ipeaGIT / geobr

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

(in)consistency of name_state values #267

Open schmert opened 2 years ago

schmert commented 2 years ago

I have just spent a few hours tracking down problems when trying to _join the result of _readstate() with an external dataset. It turns out that the _namestate variable has some unexpected features:

  1. Capital D in de and do, so that values are Rio De Janeiro, Mato Grosso Do Sul, etc. Because that's not standard Portuguese spelling, it can mess up joins with other datasets.

  2. No accent on the first i in Espírito Santo. Same problems.

rafapereirabr commented 2 years ago

Thank you for drawing my attention to this, @schmert ! I'll try to fix this soon.

travitzki commented 1 year ago

Just complementing:

  1. wrong accent on "Amazônas"