From b0558ae4efa5aa6f5e2818a5e17e7ae541985d96 Mon Sep 17 00:00:00 2001 From: frievoe97 Date: Wed, 20 Dec 2023 15:21:40 +0100 Subject: [PATCH] update script to download abwasserdaten --- scripts/build-site.sh | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/scripts/build-site.sh b/scripts/build-site.sh index 053b2047..038ce034 100755 --- a/scripts/build-site.sh +++ b/scripts/build-site.sh @@ -10,7 +10,19 @@ IFS=$'\n\t' # ----------------------------------------------------- +echo BUILD: Getting the abwassersurveillance data +TIMESTAMP=`date` + +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/Abwasser/ + +pip install html_to_json +python3 scripts/sewage-data-parser.py +cp *abwassersurveillance* Abwasser/ + +svn add Abwasser/abwassersurveillance.csv +svn commit --username $SVN_USER --password $SVN_PASSWORD --no-auth-cache -m "autobuild: $TIMESTAMP" Abwasser echo BUILD: Getting RKI_FILE @@ -55,16 +67,8 @@ 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 - -pip install html_to_json -python3 scripts/sewage-data-parser.py -cp *abwassersurveillance* Fallzahlen/RKI - - - echo BUILD: Commit cases to SVN -TIMESTAMP=`date` svn commit --username $SVN_USER --password $SVN_PASSWORD --no-auth-cache -m "autobuild: $TIMESTAMP" Fallzahlen # Get hospital data too