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_inep_educacao_especial #801

Merged
merged 7 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{
config(
alias="brasil_distorcao_idade_serie",
schema="br_inep_educacao_especial",
materialized="table",
)
}}

select
safe_cast(ano as int64) ano,
safe_cast(etapa_ensino as string) etapa_ensino,
safe_cast(tdi as float64) tdi,
from
`basedosdados-staging.br_inep_educacao_especial_staging.brasil_distorcao_idade_serie`
as t
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{
config(
alias="brasil_taxa_rendimento",
schema="br_inep_educacao_especial",
materialized="table",
)
}}

select
safe_cast(ano as int64) ano,
safe_cast(etapa_ensino as string) etapa_ensino,
safe_cast(taxa_aprovacao as float64) taxa_aprovacao,
safe_cast(taxa_reprovacao as float64) taxa_reprovacao,
safe_cast(taxa_abandono as float64) taxa_abandono,
from
`basedosdados-staging.br_inep_educacao_especial_staging.brasil_taxa_rendimento` as t
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ select
safe_cast(ano as int64) ano,
safe_cast(sigla_uf as string) sigla_uf,
safe_cast(id_municipio as string) id_municipio,
safe_cast(quantidade_docente_regente as int64) quantidade_docente_regente,
safe_cast(quantidade_docente_aee as int64) quantidade_docente_aee,
safe_cast(quantidade_docente_regente as numeric) quantidade_docente_regente,
safe_cast(quantidade_docente_aee as numeric) quantidade_docente_aee,
safe_cast(
quantidade_docente_regente_formacao_continuada as int64
) quantidade_docente_regente_formacao_continuada,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ select
safe_cast(id_municipio as string) id_municipio,
safe_cast(rede as string) rede,
safe_cast(
quantidade_docente_formacao_continuada as int64
quantidade_docente_formacao_continuada as numeric
) quantidade_docente_formacao_continuada,

from `basedosdados-staging.br_inep_educacao_especial_staging.docente_formacao` as t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ select
safe_cast(ano as int64) ano,
safe_cast(sigla_uf as string) sigla_uf,
safe_cast(rede as string) rede,
safe_cast(quantidade_matricula as int64) quantidade_matricula,
safe_cast(quantidade_matricula_aee as int64) quantidade_matricula_aee,
safe_cast(quantidade_matricula as numeric) quantidade_matricula,
safe_cast(quantidade_matricula_aee as numeric) quantidade_matricula_aee,

from `basedosdados-staging.br_inep_educacao_especial_staging.matricula_aee` as t

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{
config(
alias="distorcao_idade_serie",
alias="uf_distorcao_idade_serie",
schema="br_inep_educacao_especial",
materialized="table",
)
Expand All @@ -10,5 +10,7 @@ select
safe_cast(ano as int64) ano,
safe_cast(sigla_uf as string) sigla_uf,
safe_cast(etapa_ensino as string) etapa_ensino,
safe_cast(tdi as numeric) tdi,
from `basedosdados-staging.br_inep_educacao_especial_staging.distorcao_idade_serie` as t
safe_cast(tdi as float64) tdi,
from
`basedosdados-staging.br_inep_educacao_especial_staging.uf_distorcao_idade_serie`
as t
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{
config(
alias="uf_taxa_rendimento",
schema="br_inep_educacao_especial",
materialized="table",
)
}}

select
safe_cast(ano as int64) ano,
safe_cast(sigla_uf as string) sigla_uf,
safe_cast(etapa_ensino as string) etapa_ensino,
safe_cast(taxa_aprovacao as float64) taxa_aprovacao,
safe_cast(taxa_reprovacao as float64) taxa_reprovacao,
safe_cast(taxa_abandono as float64) taxa_abandono,
from `basedosdados-staging.br_inep_educacao_especial_staging.uf_taxa_rendimento` as t

Large diffs are not rendered by default.

Loading
Loading