Add script to download and generate the model
This commit is contained in:
parent
76de56d601
commit
9978f80c0e
|
@ -0,0 +1,11 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
# download the dataset into the data directory
|
||||||
|
mkdir -p data
|
||||||
|
curl -o "./data/fr-esr-referentiel-geographique.csv" "https://data.enseignementsup-recherche.gouv.fr/explore/dataset/fr-esr-referentiel-geographique/download/?format=csv&timezone=Europe/Berlin&use_labels_for_header=true"
|
||||||
|
|
||||||
|
# Install the dependency
|
||||||
|
raco pkg install --skip-installed --auto csv-reading
|
||||||
|
|
||||||
|
# run the extraction script
|
||||||
|
racket extractor.rkt
|
Loading…
Reference in New Issue