From ca1eedfa5165f5ee03e58673bb42a1ebbf5d3c17 Mon Sep 17 00:00:00 2001 From: Billy Charlton Date: Wed, 23 Oct 2024 17:31:22 +0200 Subject: [PATCH] more build hacks --- scripts/build-site.sh | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/scripts/build-site.sh b/scripts/build-site.sh index 648e649d..e4f63897 100755 --- a/scripts/build-site.sh +++ b/scripts/build-site.sh @@ -58,20 +58,15 @@ echo "FILTER the RKI csv file ---" ## python3 scripts/rki-update.py rki.csv ## echo After rki-update.py ## -## echo BUILD: Check out SVN and move *.csv files -## # put them in the right places -## svn checkout --username $SVN_USER --password $SVN_PASSWORD --no-auth-cache --depth infinity \ -## https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/episim/original-data/Fallzahlen/ -## -## cp *cases* src/assets -## cp *cases* Fallzahlen/RKI -# this should be unnecessary. Thanks RKI -mkdir -p Fallzahlen/RKI Fallzahlen/Berlin Fallzahlen/Other +echo BUILD: Check out SVN and move *.csv files +svn checkout --username $SVN_USER --password $SVN_PASSWORD --no-auth-cache --depth infinity \ + https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/episim/original-data/Fallzahlen/ +cp *cases* src/assets +cp *cases* Fallzahlen/RKI echo BUILD: Fetch RKI Hospitalization cases from GitHub wget https://github.com/robert-koch-institut/COVID-SARI-Hospitalisierungsinzidenz/raw/main/COVID-SARI-Hospitalisierungsinzidenz.tsv - cp COVID-SARI-* Fallzahlen/RKI echo BUILD: Commit cases to SVN @@ -87,7 +82,6 @@ echo BUILD: Process DIVI Cases cd Fallzahlen/DIVI -# export SRC="https://diviexchange.blob.core.windows.net/%24web/zeitreihe-tagesdaten.csv" export SRC="https://raw.githubusercontent.com/robert-koch-institut/Intensivkapazitaeten_und_COVID-19-Intensivbettenbelegung_in_Deutschland/0b98fce502cadcdab724abc456e80c02ba258c0a/Intensivregister_Landkreise_Kapazitaeten.csv" export OUT="zeitreihe-tagesdaten.csv" wget -qO - ${SRC} > $OUT