From ec33995376ca41ee5bde923e4871f337cff1df3b Mon Sep 17 00:00:00 2001 From: Victor Perron Date: Wed, 17 Jul 2024 17:59:20 +0200 Subject: [PATCH] chore(pipeline) : Remove pole-emploi national label Also fix one URL towards pole-emploi.fr. --- .../sources/france_travail/stg_france_travail__agences.sql | 2 +- pipeline/dbt/seeds/schema/labels_nationaux.csv | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pipeline/dbt/models/staging/sources/france_travail/stg_france_travail__agences.sql b/pipeline/dbt/models/staging/sources/france_travail/stg_france_travail__agences.sql index 24724938..0125531d 100644 --- a/pipeline/dbt/models/staging/sources/france_travail/stg_france_travail__agences.sql +++ b/pipeline/dbt/models/staging/sources/france_travail/stg_france_travail__agences.sql @@ -6,7 +6,7 @@ final AS ( SELECT _di_source_id AS "_di_source_id", CURRENT_DATE AS "date_maj", - CASE WHEN data ->> 'dispositifADEDA' = 'true' THEN 'https://www.pole-emploi.fr/actualites/a-laffiche/2022/adeda-un-dispositif-pour-mieux-a.html' END AS "accessibilite", + CASE WHEN data ->> 'dispositifADEDA' = 'true' THEN 'https://www.francetravail.fr/actualites/a-laffiche/2022/adeda-un-dispositif-pour-mieux-a.html' END AS "accessibilite", CAST(data #>> '{adressePrincipale,gpsLat}' AS FLOAT) AS "latitude", CAST(data #>> '{adressePrincipale,gpsLon}' AS FLOAT) AS "longitude", data #>> '{adressePrincipale,ligne4}' AS "adresse", diff --git a/pipeline/dbt/seeds/schema/labels_nationaux.csv b/pipeline/dbt/seeds/schema/labels_nationaux.csv index 7d6deb0f..509edbd3 100644 --- a/pipeline/dbt/seeds/schema/labels_nationaux.csv +++ b/pipeline/dbt/seeds/schema/labels_nationaux.csv @@ -63,7 +63,6 @@ mobin,Adhérent au Réseau Mob’In, nqt,NQT, point-conseil-budget,Point conseil budget, point-justice,Points Justice, -pole-emploi,Pôle emploi, positive-planet,Positive Planet, proxite,Proxité, reseau-app,Réseau APP,