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_sinopse_estatistica_educacao_basica__educacao_especial_ #781

Merged
merged 1 commit into from
Sep 24, 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
Expand Up @@ -16,8 +16,14 @@ select
safe_cast(sigla_uf as string) sigla_uf,
safe_cast(id_municipio as string) id_municipio,
safe_cast(tipo_classe as string) tipo_classe,
safe_cast(etapa_ensino as string) etapa_ensino,
safe_cast(quantidade_matricula as int64) quantidade_matricula,
safe_cast(
case
when etapa_ensino = 'Ensino Médio Normal/Magistério'
then 'Ensino Médio Normal - Magistério'
else etapa_ensino
end as string
) etapa_ensino,
safe_cast(quantidade_matricula as numeric) quantidade_matricula
from
`basedosdados-staging.br_inep_sinopse_estatistica_educacao_basica_staging.educacao_especial_etapa_ensino`
as t
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ select
safe_cast(id_municipio as string) id_municipio,
safe_cast(tipo_classe as string) tipo_classe,
safe_cast(faixa_etaria as string) faixa_etaria,
safe_cast(quantidade_matricula as int64) quantidade_matricula,
safe_cast(quantidade_matricula as numeric) quantidade_matricula,
from
`basedosdados-staging.br_inep_sinopse_estatistica_educacao_basica_staging.educacao_especial_faixa_etaria`
as t
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ select
safe_cast(tipo_classe as string) tipo_classe,
safe_cast(rede as string) rede,
safe_cast(localizacao as string) localizacao,
safe_cast(quantidade_matricula as int64) quantidade_matricula,
safe_cast(quantidade_matricula as numeric) quantidade_matricula,
from
`basedosdados-staging.br_inep_sinopse_estatistica_educacao_basica_staging.educacao_especial_localizacao`
as t
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ select
safe_cast(id_municipio as string) id_municipio,
safe_cast(tipo_classe as string) tipo_classe,
safe_cast(sexo as string) sexo,
safe_cast(raca_cor as string) raca_cor,
safe_cast(quantidade_matricula as int64) quantidade_matricula,
safe_cast(
case when raca_cor = 'Fmarela' then 'Amarela' else raca_cor end as string
) raca_cor,
safe_cast(quantidade_matricula as numeric) quantidade_matricula,
from
`basedosdados-staging.br_inep_sinopse_estatistica_educacao_basica_staging.educacao_especial_sexo_raca_cor`
as t
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ select
safe_cast(tipo_classe as string) tipo_classe,
safe_cast(rede as string) rede,
safe_cast(tempo_ensino as string) tempo_ensino,
safe_cast(quantidade_matricula as int64) quantidade_matricula,
safe_cast(quantidade_matricula as numeric) quantidade_matricula,
from
`basedosdados-staging.br_inep_sinopse_estatistica_educacao_basica_staging.educacao_especial_tempo_ensino`
as t
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ select
safe_cast(sigla_uf as string) sigla_uf,
safe_cast(id_municipio as string) id_municipio,
safe_cast(tipo_classe as string) tipo_classe,
safe_cast(tipo_deficiencia as string) tipo_deficiencia,
safe_cast(quantidade_matricula as int64) quantidade_matricula,
safe_cast(
case
when tipo_deficiencia = 'Altas Habilidades / Superdotação'
then 'Altas Habilidade/Superdotação'
else tipo_deficiencia
end as string
) tipo_deficiencia,
safe_cast(quantidade_matricula as numeric) quantidade_matricula,
from
`basedosdados-staging.br_inep_sinopse_estatistica_educacao_basica_staging.educacao_especial_tipo_deficiencia`
as t
Loading