Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dbt] Fix Geobr Municipio #501

Merged
merged 3 commits into from
Mar 18, 2024
Merged

[dbt] Fix Geobr Municipio #501

merged 3 commits into from
Mar 18, 2024

Conversation

tricktx
Copy link
Contributor

@tricktx tricktx commented Mar 15, 2024

No description provided.

@tricktx tricktx added the table-approve Trigger action table-approve label Mar 15, 2024
@tricktx tricktx self-assigned this Mar 15, 2024
Copy link
Contributor

@folhesgabriel folhesgabriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cara fiz uma query pra ver a quantidade de municipios

select count(distinct(id_municipio))
from `basedosdados-dev.br_geobr_mapas.municipio` limit 10

image

Pesquisando no google o brasil tem 5568 municípios. Será que a base tem id_municipio que não existem mais?

@tricktx
Copy link
Contributor Author

tricktx commented Mar 18, 2024

amigo, a última notícia sobre a quantidade municípios do IBGE foi 5570 em 2020, segue a matéria:

  1. https://agenciadenoticias.ibge.gov.br/media/com_mediaibge/arquivos/496bb4fbf305cca806aaa167aa4f6dc8.pdf
  2. https://agenciadenoticias.ibge.gov.br/agencia-sala-de-imprensa/2013-agencia-de-noticias/releases/28668-ibge-divulga-estimativa-da-populacao-dos-municipios-para-2020

image

Pensando nessa ideia, acredito que faça mais sentido subir o ano de 2020 (já confirmado pelo próprio IBGE).

@laura-l-amaral laura-l-amaral linked an issue Mar 18, 2024 that may be closed by this pull request
@tricktx
Copy link
Contributor Author

tricktx commented Mar 18, 2024

Os dois municípios acrescentados em 2022 são os seguintes:
image

@tricktx
Copy link
Contributor Author

tricktx commented Mar 18, 2024

Confirmando, dessa forma, está certinho a quantidade de dados:

image

Não há nenhum município ou linha vazia:

image

@tricktx tricktx merged commit 76e0b1e into main Mar 18, 2024
2 checks passed
@tricktx tricktx deleted the fix/br_geobr_mapas branch March 18, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
table-approve Trigger action table-approve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[fix] br_geobr_mapas
3 participants