Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

codegouvfr/codegouvfr-consolidate-data-archived

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img 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/~codegouvfr/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.code.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).

License

2020-2024 DINUM, Bastien Guerry.

This application is published under the EPL 2.0 license.

About

[EN] Consolidate json/svg/xml files used by code.gouv.fr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages