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:
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.
No accent on the first i in Espírito Santo. Same problems.
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:
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.
No accent on the first i in Espírito Santo. Same problems.