generated from dataforgoodfr/d4g-project-template
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add laposte data * fix bug when in write data from csv to duckdb * remove duck db client close
- Loading branch information
1 parent
de39d30
commit 4c48b9e
Showing
9 changed files
with
52 additions
and
186 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
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 |
---|---|---|
@@ -1,16 +1,10 @@ | ||
SELECT | ||
TYPECOM::VARCHAR as typecom, | ||
COM::VARCHAR AS com, | ||
REG::SMALLINT as reg, | ||
DEP::VARCHAR as dep, | ||
CTCD::VARCHAR as ctcd, | ||
ARR::VARCHAR as arr, | ||
ARR::VARCHAR as arr, | ||
TNCC::SMALLINT as tncc, | ||
NCC::VARCHAR as ncc, | ||
NCCENR::VARCHAR as nccenr, | ||
LIBELLE::VARCHAR as libelle, | ||
CAN::VARCHAR as can, | ||
COMPARENT::VARCHAR as comparent, | ||
de_partition::SMALLINT as de_partition | ||
code_commune_insee::VARCHAR as code_commune_insee, | ||
nom_de_la_commune::VARCHAR AS nom_de_la_commune, | ||
code_postal::VARCHAR as code_postal, | ||
libelle_d_acheminement::VARCHAR as libelle_d_acheminement, | ||
ligne_5::VARCHAR as ligne_5, | ||
_geopoint::VARCHAR as _geopoint, | ||
de_partition::SMALLINT as de_partition, | ||
de_ingestion_date::VARCHAR as de_ingestion_date | ||
FROM {{ source('communes', 'laposte_communes') }} |
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