Skip to content

Commit

Permalink
Change to apply fix on codes postaux for INSEE 27676
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasG77 committed Feb 20, 2023
1 parent 8f05945 commit d79647e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download-codes-postaux-la-poste.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# Useful only if live
curl "https://datanova.legroupe.laposte.fr/explore/dataset/laposte_hexasmal/download/?format=json&timezone=Europe/Berlin&lang=fr" \
| jq '[.[].fields | {"codePostal": .code_postal, "codeCommune": .code_commune_insee, "libelleAcheminement": .libelle_d_acheminement, "nomCommune": .nom_de_la_commune}]' >| sources/codes-postaux.json
cp sources/codes-postaux.json sources/codes-postaux-with-fix.json
jq -c '.[]' sources/codes-postaux.json sources/codes-postaux-missing.json | jq --slurp '.' >| sources/codes-postaux-with-fix.json

0 comments on commit d79647e

Please sign in to comment.