diff --git a/environment.yml b/environment.yml index 5fd2d0e1e74..21f780ee838 100644 --- a/environment.yml +++ b/environment.yml @@ -12,4 +12,5 @@ dependencies: - lxml - jupyter - tensorflow + - nb_conda_kernels prefix: /home/frankknoll/anaconda3/envs/howbadismybatch-venv diff --git a/src/help.txt b/src/help.txt index 35cd4c715b8..3021bc79063 100644 --- a/src/help.txt +++ b/src/help.txt @@ -1,15 +1,5 @@ jupyter notebook -zwei Spalten darstellen: -- linke und rechte Spalte jeweils mit Bundesland-Menu und Landkreise-Submenu des ausgewählten Bundeslandes -- Dargestellt werden in einem Chart die freien Betten + belegten Betten des ausgewählten Landkreises - (analog zu "Gesamtzahl gemeldeter Intensivbetten (Betreibbare Betten und Notfallreserve)", siehe https://www.intensivregister.de/#/aktuelle-lage/zeitreihen) -- Zugrundegelegter Datensatz: zeitreihe-tagesdaten.csv aus https://www.intensivregister.de/#/aktuelle-lage/downloads - -src/intensivstationen/AGS_2022-02-28.json downloaded from https://www.xrepository.de/details/urn:de:bund:destatis:bevoelkerungsstatistik:schluessel:ags - -04-kreise.xlsx: https://www.destatis.de/DE/Themen/Laender-Regionen/Regionales/Gemeindeverzeichnis/Administrativ/04-kreise.html -COVID-19_Todesfaelle.xlsx: https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus/Projekte_RKI/COVID-19_Todesfaelle.html get VAERS data: - download data (e.g. 2022VAERSData.zip) from https://vaers.hhs.gov/data/datasets.html and save and unzip in VAERS folder @@ -17,24 +7,13 @@ get VAERS data: FK-FIXME: FK-TODO: -- Darstellung als Dashboard, siehe https://covid-karte.de/ oder https://experience.arcgis.com/experience/3a132983ad3c4ab8a28704e9addefaba, https://preview.tabler.io/ -- Alle Charts mit Slidern versehen? anacron job: sudo cp src/intensivstationen_howbadismybatch.sh /etc/cron.daily/intensivstationen_howbadismybatch -man 5 fcrontab - -fcrontab -e - -fcrontab -l -# each day at 13:30 Uhr -30 13 * * * /home/frankknoll/Dokumente/Corona/projects/HowBadIsMyBatch-pages/src/intensivstationen/intensivstationen.sh - -systemctl status fcron -tail -f /var/log/syslog - conda create --name howbadismybatch-venv python=3 conda activate howbadismybatch-venv +ipython kernel install --user --name=howbadismybatch-venv-kernel +jupyter kernelspec list conda env export --from-history > environment.yml conda env create -f environment.yml diff --git a/src/intensivstationen_howbadismybatch.sh b/src/intensivstationen_howbadismybatch.sh index 42aef2ab420..05eb7e6b483 100755 --- a/src/intensivstationen_howbadismybatch.sh +++ b/src/intensivstationen_howbadismybatch.sh @@ -8,7 +8,7 @@ jupyter nbconvert --to html Intensivstationen.nbconvert.ipynb mailx -a 'Content-Type: text/html' -s "Intensivstationen" -r Knoll_Frank@web.de Knoll_Frank@web.de < Intensivstationen.nbconvert.html cd /home/frankknoll/Dokumente/Corona/projects/HowBadIsMyBatch-pages/src -conda activate howbadismybatch-venv; jupyter nbconvert --to notebook --allow-errors --execute HowBadIsMyBatch.ipynb +jupyter nbconvert --ExecutePreprocessor.kernel_name="howbadismybatch-venv-kernel" --to notebook --allow-errors --execute HowBadIsMyBatch.ipynb jupyter nbconvert --to html HowBadIsMyBatch.nbconvert.ipynb mailx -a 'Content-Type: text/html' -s "How Bad is My Batch" -r Knoll_Frank@web.de Knoll_Frank@web.de < HowBadIsMyBatch.nbconvert.html EOF