~etalab/codegouvfr-consolidate-data

[EN] Consolidate json/svg/xml files used by code.gouv.fr
README.md: Mention the sources and licenses for sill.json
src/rss.clj: Add guid
src/rss.clj: Add more explicity RSS item titles

clone

read-only
https://git.sr.ht/~etalab/codegouvfr-consolidate-data
read/write
git@git.sr.ht:~etalab/codegouvfr-consolidate-data

You can also use your local clone with git send-email.

img

#Consolidate and generate codegouvfr data

codegouvfr stands for code.gouv.fr.

The code in this repository creates json/svg/xml files used by the code.gouv.fr web application.

#Installation and configuration

  1. Install a Java runtime for Java version 8 or 11. You can check the existing version of your java runtime with java -version. OpenJDK 11 can be installed on Debian-compatible GNU/Linux systems with apt install openjdk-11-jdk.

  2. Install node.js and vl2svg (npm install -g vega-lite).

  3. Install Clojure: follow installation instructions on clojure.org.

  4. Install rlwrap. For example on Debian-compatible GNU/Linux systems with apt install rlwrap.

  5. Clone this repository and enter it: git clone https://git.sr.ht/~etalab/codegouvfr-consolidate-data ; cd codegouvfr-consolidate-data

#Generate consolidated files

  1. You may use input files. These files are in the data folder of codegouvfr-fetch-data. Copy them in the project directory. For example cp -r ../codegouvfr-fetch-data/* . If you skip this step, the input files will be fetched from code.gouv.fr.

  2. Launch the command clj -M:run.

#Get the data

These data are published under the Open License 2.0:

Data for the sill.etalab.gouv.fr, exposed on this page, come from Wikidata (CC0), Comptoir du libre (CC0), https://annuaire.cnll.fr and contributors of the SILL (Open License 2.0).

#Contributing

#License

2020-2022 DINUM, Bastien Guerry.

This application is published under the EPL 2.0 license.