|
23 | 23 | "origin": "nom_de_lorganisme",
|
24 | 24 | "destination": "nom",
|
25 | 25 | },
|
| 26 | + { |
| 27 | + "origin": "enseigne_commerciale", |
| 28 | + "destination": "nom_commercial", |
| 29 | + }, |
| 30 | + { |
| 31 | + "origin": "consignes_dacces", |
| 32 | + "destination": "description", |
| 33 | + }, |
26 | 34 | {
|
27 | 35 | "origin": "longitudewgs84",
|
28 | 36 | "destination": "longitude",
|
|
32 | 40 | "destination": "latitude",
|
33 | 41 | },
|
34 | 42 | # 2. Transformation des colonnes
|
| 43 | + { |
| 44 | + "origin": "site_web", |
| 45 | + "transformation": "clean_url", |
| 46 | + "destination": "url", |
| 47 | + }, |
35 | 48 | {
|
36 | 49 | "origin": "ecoorganisme",
|
37 | 50 | "transformation": "strip_lower_string",
|
|
78 | 91 | "value": constants.ACTEUR_ACTIF,
|
79 | 92 | },
|
80 | 93 | # 4. Transformation du dataframe
|
| 94 | + { |
| 95 | + "origin": ["siret", "siren"], |
| 96 | + "transformation": "clean_siret_and_siren", |
| 97 | + "destination": ["siret", "siren"], |
| 98 | + }, |
81 | 99 | {
|
82 | 100 | "origin": ["latitude", "longitude"],
|
83 | 101 | "transformation": "compute_location",
|
|
107 | 125 | "transformation": "clean_adresse",
|
108 | 126 | "destination": ["adresse", "code_postal", "ville"],
|
109 | 127 | },
|
| 128 | + { |
| 129 | + "origin": ["telephone", "code_postal"], |
| 130 | + "transformation": "clean_telephone", |
| 131 | + "destination": ["telephone"], |
| 132 | + }, |
110 | 133 | {
|
111 | 134 | "origin": [
|
112 | 135 | "point_dapport_de_service_reparation",
|
|
147 | 170 | {"remove": "point_dapport_de_service_reparation"},
|
148 | 171 | {"remove": "point_dapport_pour_reemploi"},
|
149 | 172 | {"remove": "point_de_reparation"},
|
| 173 | + {"remove": "perimetre_dintervention"}, |
| 174 | + {"remove": "service_a_domicile"}, |
150 | 175 | # 6. Colonnes à garder (rien à faire, utilisé pour le controle)
|
151 | 176 | {"keep": "email"},
|
| 177 | + {"keep": "adresse_complement"}, |
152 | 178 | ],
|
153 | 179 | "endpoint": (
|
154 | 180 | "https://data.pointsapport.ademe.fr/data-fair/api/v1/datasets/"
|
|
0 commit comments