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

[fix] br_camara_dados_abertos #601

Merged
merged 2 commits into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions models/br_camara_dados_abertos/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ models:
to: ref('br_camara_dados_abertos__evento')
field: id_evento
ignore_values: ['0', '71957', '71921'] # O valor 5410 será ignorado
proportion_allowed_failures: 0
proportion_allowed_failures: 0.2
- name: aprovacao
description: Indicador se ocorreu a aprovação
- name: voto_sim
Expand Down Expand Up @@ -157,9 +157,11 @@ models:
- name: id_votacao
description: ID da votação
tests:
- relationships:
- custom_relationships:
to: ref('br_camara_dados_abertos__votacao')
field: id_votacao
ignore_values: ['235536312']
proportion_allowed_failures: 0.2
- name: sigla_orgao
description: Sigla do órgão
- name: descricao
Expand Down Expand Up @@ -194,12 +196,6 @@ models:
description: Descrição sobre a votação
- name: id_proposicao
description: ID proposição
tests:
- custom_relationships:
to: ref('br_camara_dados_abertos__proposicao_microdados')
field: id_proposicao
ignore_values: ['33463', '130292', '42069']
proportion_allowed_failures: 0
- name: ano_proposicao
description: Ano da proposição
tests:
Expand Down Expand Up @@ -582,6 +578,7 @@ models:
- nome
- nome_deputado
- cargo
- sigla_uf
- data_inicio
- data_final
- sigla_partido
Expand Down Expand Up @@ -778,17 +775,21 @@ models:
- name: id_frente
description: ID da frente
tests:
- relationships:
- custom_relationships:
to: ref('br_camara_dados_abertos__frente')
field: id_frente
ignore_values: ['55614', '55619', '55621', '55604']
proportion_allowed_failures: 0.2
- name: titulo_deputado
description: Título do deputado
- name: id_deputado
description: ID do deputado
tests:
- relationships:
- custom_relationships:
to: ref('br_camara_dados_abertos__deputado')
field: id_deputado
ignore_values: ['223398']
proportion_allowed_failures: 0.2
- name: nome_deputado
description: Nome do deputado
- name: url_foto_deputado
Expand Down Expand Up @@ -1209,7 +1210,7 @@ models:
to: ref('br_camara_dados_abertos__deputado')
field: id_deputado
ignore_values: ['228042', '223398'] # O valor 5410 será ignorado
proportion_allowed_failures: 0
proportion_allowed_failures: 0.2
- name: ano_legislatura
description: Ano de início da legislatura
tests:
Expand Down
Loading