archiver https://www.hatvp.fr/agora/opendata/csv/Vues_Separees_CSV.zip #3 (closed) s'avere impossible parce que les identifiants sont mélangés d'un jour sur l'autre. Cependant, http://www.hatvp.fr/agora/opendata/agora_repertoire_opendata.json ne contenant aucun identifiant, il est possible de trier le contenu pour obtenir un diff qui reflete effectivement les modifications de contenu.
- wget 'http://www.hatvp.fr/agora/opendata/agora_repertoire_opendata.json'
- jq -S '.publications|=sort_by(.identifiantNational)' < agora_repertoire_opendata.json > repertoire.json reduces the text diff by an order of magnitude
- use https://github.com/Starcounter-Jack/JSON-Patch to get a diff
- https://mirrors.edge.kernel.org/pub/software/scm/git/docs/ GIT_EXTERNAL_DIFF=jsondiff with apt-get install python3-jsonpatch
Edited by Loïc Dachary