12 lines
423 B
Bash
Executable File
12 lines
423 B
Bash
Executable File
#! /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
|