Skip to content

Commit

Permalink
chore: publish shapefiles to datagouv (bis)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmttn committed Oct 25, 2023
1 parent d36b4f9 commit f0a8c56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .template.env
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@ DATAGOUV_DI_RESOURCE_IDS='
"structures": {
"json": "4fc64287-e869-4550-8fb9-b1e0b7809ffa",
"csv": "fd4cb3ef-5c31-4c99-92fe-2cd8016c0ca5",
"xlsx": "fad88958-c9a7-4914-a9b8-89d1285c210a"
"xlsx": "fad88958-c9a7-4914-a9b8-89d1285c210a",
"shp": "1c821265-d1a6-4047-932a-bfdfe865f2e8"
},
"services": {
"json": "0eac1faa-66f9-4e49-8fb3-f0721027d89f",
"csv": "5abc151a-5729-4055-b0a9-d5691276f461",
"xlsx": "de2eb57b-113d-48eb-95d2-59a69ba36eb1"
"xlsx": "de2eb57b-113d-48eb-95d2-59a69ba36eb1",
"shp": "b1445e32-a488-436f-bda3-05922dbb097e"
},
}
'
2 changes: 1 addition & 1 deletion pipeline/dags/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _publish_to_datagouv():

for kind, format in itertools.product(
["structures", "services"],
["csv", "json", "xlsx"],
["csv", "json", "xlsx", "shp"],
):
df = structures_df if kind == "structures" else services_df

Expand Down

0 comments on commit f0a8c56

Please sign in to comment.