Skip to content

Commit

Permalink
Merge pull request #492 from basedosdados/br-camara-dados
Browse files Browse the repository at this point in the history
register frente_deputado
  • Loading branch information
tricktx authored Mar 11, 2024
2 parents fcdba94 + 9387bfe commit 02cf69a
Show file tree
Hide file tree
Showing 14 changed files with 53 additions and 59 deletions.
2 changes: 1 addition & 1 deletion models/br_bcb_agencia/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [ano, mes, cnpj]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down
4 changes: 2 additions & 2 deletions models/br_bcb_estban/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ models:
- cnpj_basico
- id_verbete
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -60,7 +60,7 @@ models:
- cnpj_agencia
- id_verbete
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down
4 changes: 2 additions & 2 deletions models/br_bd_metadados/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [flow_group_id]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: flow_group_id
description: Flow group identifier
Expand Down Expand Up @@ -74,7 +74,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id
description: Unique identifier for the flow run
Expand Down
6 changes: 0 additions & 6 deletions models/br_camara_dados_abertos/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1201,11 +1201,6 @@ models:
tests:
- dbt_utils.not_null_proportion:
at_least: 0.05
- name: titulo_deputado
description: Título do deputado
tests:
- dbt_utils.not_null_proportion:
at_least: 0.05
- name: url_foto_deputado
description: URL da foto do deputado
tests:
Expand Down Expand Up @@ -1713,4 +1708,3 @@ models:
description: Valor que o parlamentar devolveu à Câmara
- name: url_documento
description: URL do documento

2 changes: 1 addition & 1 deletion models/br_datahackers_state_data/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [p0]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: p0
description: Id
Expand Down
4 changes: 2 additions & 2 deletions models/br_denatran_frota/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [ano, mes, id_municipio, tipo_veiculo]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -43,7 +43,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [ano, mes, sigla_uf, tipo_veiculo]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down
2 changes: 1 addition & 1 deletion models/br_firjan_ifgf/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [ano, id_municipio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down
46 changes: 23 additions & 23 deletions models/br_ibge_censo_2022/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio, localizacao_domicilio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 dígitos
Expand All @@ -33,7 +33,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [territorio_quilombola, sigla_uf]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: territorio_quilombola
description: Território Quilombola
Expand All @@ -51,7 +51,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_territorio_quilombola]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_territorio_quilombola
description: ID Território Quilombola IBGE 5 dígitos
Expand All @@ -74,7 +74,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio, territorios_quilombolas]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 dígitos
Expand All @@ -94,7 +94,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_territorio_quilombola]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_territorio_quilombola
description: ID Território Quilombola 5 dígitos IBGE
Expand All @@ -119,7 +119,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_terra_indigena]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_terra_indigena
description: ID Terra Indígena IBGE 7 dígitos
Expand All @@ -144,7 +144,7 @@ models:
- sexo
- idade
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 dígitos
Expand All @@ -166,7 +166,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município 7 dígitos IBGE
Expand All @@ -185,7 +185,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 dígitos
Expand All @@ -203,7 +203,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 dígitos
Expand All @@ -223,7 +223,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio, especie]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 Dígitos
Expand All @@ -243,7 +243,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio, localizacao_domicilio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 dígitos
Expand All @@ -268,7 +268,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio, localizacao_domicilio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 dígitos
Expand All @@ -294,7 +294,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_terra_indigena, quesito_declaracao_indigena]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_terra_indigena
description: ID Terra Indígena IBGE 7 dígitos
Expand All @@ -321,7 +321,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_terra_indigena]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_terra_indigena
description: ID Terra Indígena IBGE 7 dígitos
Expand Down Expand Up @@ -351,7 +351,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio, localizacao_domicilio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE 7 dígitos
Expand Down Expand Up @@ -380,7 +380,7 @@ models:
- quesito_declaracao_indigena
- localizacao_domicilio
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município 7 dígitos IBGE
Expand All @@ -402,7 +402,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [sigla_uf, grupo_idade]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: sigla_uf
description: Sigla da Unidade da Federação
Expand All @@ -424,7 +424,7 @@ models:
- id_municipio
- quesito_declaracao_indigena
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand All @@ -448,7 +448,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [ano, id_municipio, grupo_idade, sexo]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand All @@ -471,7 +471,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [ano, id_municipio, cor_raca]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -500,7 +500,7 @@ models:
- sexo
- cor_raca
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -529,7 +529,7 @@ models:
- longitude
- nivel_geo_coordenada
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_municipio
description: ID Município IBGE - 7 Dígitos
Expand Down
4 changes: 2 additions & 2 deletions models/br_ibge_pevs/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [ano, id_municipio, tipo_produto, produto]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -45,7 +45,7 @@ models:
- subtipo_produto
- produto
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down
4 changes: 2 additions & 2 deletions models/br_ibge_pib/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [ano, id_municipio]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -44,7 +44,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_uf, ano]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: id_uf
description: ID UF - IBGE 2 Dígitos
Expand Down
2 changes: 1 addition & 1 deletion models/br_inpe_sisam/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns: [id_municipio, data_hora]
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down
6 changes: 3 additions & 3 deletions models/br_me_caged/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ models:
de declaração.
tests:
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -70,7 +70,7 @@ models:
de declaração.
tests:
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down Expand Up @@ -133,7 +133,7 @@ models:
description: Contém dados de movimentações excluídas com competência de declaração.
tests:
- not_null_proportion_multiple_columns:
at_least: 0.05
at_least: 0.05
columns:
- name: ano
description: Ano
Expand Down
Loading

0 comments on commit 02cf69a

Please sign in to comment.