Skip to content

Commit

Permalink
fix: hebergement du dataset de la haute borne
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Boutin committed Sep 5, 2023
1 parent fb6f4bd commit 2e44d97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ instructions:

.PHONY: dataset ## 🔽 télécharge les données et les dézippe dans le dossier data/
dataset:
curl -L https://opendata-renewables.engie.com/media/datasets/01c55756-5cd6-4f60-9f63-2d771bb25a1a.zip \
-o data/la-haute-borne-data-2017-2020.zip
unzip data/la-haute-borne-data-2017-2020.zip -d data/
rm data/la-haute-borne-data-2017-2020.zip
# le lien d'origine https://opendata-renewables.engie.com/media/datasets/01c55756-5cd6-4f60-9f63-2d771bb25a1a.zip est mort
# solution de contournement en hébergeant le dataset directement sur github
curl -L https://github.com/Loubout/la_haute_borne_data/raw/main/la-haute-borne-data-2017-2020.csv \
-o data/la-haute-borne-data-2017-2020.csv

.PHONY: airflow-setup ## 💨 Initialize airflow backend: initdb > variables > connections
airflow-setup:
Expand Down

0 comments on commit 2e44d97

Please sign in to comment.