-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into br_ibge_criacao_municipios
- Loading branch information
Showing
319 changed files
with
60,179 additions
and
1,479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.PHONY: run | ||
run: | ||
docker-compose up --build --force-recreate --detach | ||
|
||
.PHONY: stop | ||
stop: | ||
docker-compose stop | ||
|
||
.PHONY: clean | ||
clean: | ||
docker-compose down --volumes | ||
|
||
.PHONY: shell | ||
shell: | ||
docker-compose exec dbt bash | ||
|
||
.PHONY: logs | ||
logs: | ||
docker-compose logs --tail=500 -f | ||
|
||
.PHONY: status | ||
status: | ||
docker-compose ps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ profile: "default" | |
# These configurations specify where dbt should look for different types of files. | ||
# The `source-paths` config, for example, states that models in this project can be | ||
# found in the "models/" directory. You probably won't need to change these! | ||
source-paths: ["models"] | ||
model-paths: ["models"] | ||
analysis-paths: ["analysis"] | ||
test-paths: ["tests"] | ||
data-paths: ["data"] | ||
seed-paths: ["data"] | ||
macro-paths: ["macros"] | ||
snapshot-paths: ["snapshots"] | ||
|
||
|
@@ -69,7 +69,10 @@ models: | |
+schema: br_bcb_agencia | ||
br_bcb_estban: | ||
+materialized: table | ||
+schema: br_bcb_estban | ||
+schema: br_bcb_estban | ||
br_bcb_sicor: | ||
+materialized: table | ||
+schema: br_bcb_sicor | ||
br_bcb_taxa_cambio: | ||
+materialized: table | ||
+schema: br_bcb_taxa_cambio | ||
|
@@ -94,12 +97,18 @@ models: | |
br_bd_metadados: | ||
+materialized: table | ||
+schema: br_bd_metadados | ||
br_camara_dados_abertos: | ||
+materialized: table | ||
+schema: br_camara_dados_abertos | ||
br_ce_fortaleza_sefin_iptu: | ||
+materialized: table | ||
+schema: br_ce_fortaleza_sefin_iptu | ||
+post-hook: | ||
- 'REVOKE `roles/bigquery.dataViewer` ON TABLE {{ this }} FROM "specialGroup:allUsers"' | ||
- 'GRANT `roles/bigquery.dataViewer` ON TABLE {{ this }} TO "group:[email protected]"' | ||
br_cgu_servidores_executivo_federal: | ||
+materialized: table | ||
+schema: br_cgu_servidores_executivo_federal | ||
br_cgu_pessoal_executivo_federal: | ||
+materialized: table | ||
+schema: br_cgu_pessoal_executivo_federal | ||
|
@@ -118,9 +127,18 @@ models: | |
br_cvm_oferta_publica_distribuicao: | ||
+materialized: table | ||
+schema: br_cvm_oferta_publica_distribuicao | ||
br_fbsp_absp: | ||
+materialized: table | ||
+schema: br_fbsp_absp | ||
br_fgv_igp: | ||
+materialized: table | ||
+schema: br_fgv_igp | ||
br_geobr_mapas: | ||
+materialized: table | ||
+schema: br_geobr_mapas | ||
br_ibge_censo_demografico: | ||
+materialized: table | ||
+schema: br_ibge_censo_demografico | ||
br_ibge_criacao_municipios: | ||
+materialized: table | ||
+schema: br_ibge_criacao_municipios | ||
|
@@ -136,12 +154,24 @@ models: | |
br_ibge_pnadc: | ||
+materialized: table | ||
+schema: br_ibge_pnadc | ||
br_inep_censo_educacao_superior: | ||
+materialized: table | ||
+schema: br_inep_censo_educacao_superior | ||
br_inep_enem: | ||
+materialized: table | ||
+schema: br_inep_enem | ||
br_inep_saeb: | ||
+materialized: table | ||
+schema: br_inep_saeb | ||
br_inmet_bdmep: | ||
+materialized: table | ||
+schema: br_inmet_bdmep | ||
+schema: br_inmet_bdmep | ||
br_inpe_prodes: | ||
+materialized: table | ||
+schema: br_inpe_prodes | ||
br_inpe_queimadas: | ||
+materialized: table | ||
+schema: br_inpe_queimadas | ||
br_jota: | ||
+materialized: table | ||
+schema: br_jota | ||
|
@@ -160,6 +190,12 @@ models: | |
+post-hook: | ||
- 'REVOKE `roles/bigquery.dataViewer` ON TABLE {{ this }} FROM "specialGroup:allUsers"' | ||
- 'GRANT `roles/bigquery.dataViewer` ON TABLE {{ this }} TO "group:[email protected]"' | ||
br_mg_belohorizonte_smfa_iptu: | ||
+materialized: table | ||
+schema: br_mg_belohorizonte_smfa_iptu | ||
+post-hook: | ||
- 'REVOKE `roles/bigquery.dataViewer` ON TABLE {{ this }} FROM "specialGroup:allUsers"' | ||
- 'GRANT `roles/bigquery.dataViewer` ON TABLE {{ this }} TO "group:[email protected]"' | ||
br_mp_pep: | ||
+materialized: table | ||
+schema: br_mp_pep | ||
|
@@ -171,7 +207,10 @@ models: | |
+schema: br_ms_sim | ||
br_ms_sinan: | ||
+materialized: table | ||
+schema: br_ms_sinan | ||
+schema: br_ms_sinan | ||
br_ms_sinasc: | ||
+materialized: table | ||
+schema: br_ms_sinasc | ||
br_ons_avaliacao_operacao: | ||
+materialized: table | ||
+schema: br_ons_avaliacao_operacao | ||
|
@@ -199,21 +238,36 @@ models: | |
+post-hook: | ||
- 'REVOKE `roles/bigquery.dataViewer` ON TABLE {{ this }} FROM "specialGroup:allUsers"' | ||
- 'GRANT `roles/bigquery.dataViewer` ON TABLE {{ this }} TO "group:[email protected]"' | ||
br_stf_corte_aberta: | ||
+materialized: table | ||
+schema: br_stf_corte_aberta | ||
br_tse_eleicoes: | ||
+materialized: table | ||
+schema: br_tse_eleicoes | ||
br_tse_eleicoes_2022: | ||
+materialized: table | ||
+schema: br_tse_eleicoes_2022 | ||
br_rf_cafir: | ||
+materialized: table | ||
+schema: br_rf_cafir | ||
fundacao_lemann: | ||
+materialized: table | ||
+schema: fundacao_lemann | ||
mundo_transfermarkt_competicoes: | ||
+materialized: table | ||
+schema: mundo_transfermarkt_competicoes | ||
mundo_transfermarkt_competicoes_internacionais: | ||
+materialized: table | ||
+schema: mundo_transfermarkt_competicoes_internacionais | ||
world_iea_pirls: | ||
+materialized: table | ||
+schema: world_iea_pirls | ||
world_wb_mides: | ||
+materialized: table | ||
+schema: world_wb_mides | ||
world_oceanos_mapeamento: | ||
+materialized: table | ||
+schema: world_oceanos_mapeamento | ||
test_dataset: | ||
+materialized: table | ||
+schema: test_dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '3' | ||
services: | ||
dbt: | ||
container_name: dbt | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
volumes: | ||
- .:/dbt | ||
environment: | ||
- DBT_PROFILES_DIR=/dbt |
Oops, something went wrong.