From ab66dfc0b2f1a53147048c21ad5167dad7135800 Mon Sep 17 00:00:00 2001 From: Jonathan Golder Date: Fri, 21 Sep 2018 18:02:22 +0200 Subject: [PATCH] gnuplot_scripts: Remove download of data We do this in python script --- ...Y_-_Turkish_Currency_and_Debt_Crisis_2018.plt | 16 ---------------- ...R_-_Turkish_Currency_and_Debt_Crisis_2018.plt | 16 ---------------- 2 files changed, 32 deletions(-) diff --git a/gnuplot_scripts/Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.plt b/gnuplot_scripts/Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.plt index 24767c3..4653209 100644 --- a/gnuplot_scripts/Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.plt +++ b/gnuplot_scripts/Euro_exchange_rate_to_TRY_-_Turkish_Currency_and_Debt_Crisis_2018.plt @@ -4,22 +4,6 @@ # http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html -# download and unzip data if not available -# code only für Unix-Shells sh, bash, ... -# remove or comment out these lines in Windows/MacOS. an load fram source manualy -# -# sh: remove file eurofxref-hist.csv if last zip-file is not from today -! [ -f upload-from-$(date '+%Y-%m-%d').zip ] || \ - remove eurofxref-hist.csv \ - -O upload-from-$(date '+%Y-%m-%d').zip -# sh: get new zip-file from EZB if last zip-file is not from today -! [ -f upload-from-$(date '+%Y-%m-%d').zip ] || \ - wget http://www.ecb.int/stats/eurofxref/eurofxref-hist.zip \ - -O upload-from-$(date '+%Y-%m-%d').zip -# sh: extract zip-file every time -! unzip -o upload-from-$(date '+%Y-%m-%d').zip - - # Start und Ende ermitteln (z.Zt. nur für Consolenausagabe) stats 'eurofxref-hist.csv' every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput print ' -----Stats-(Timestamp)----' diff --git a/gnuplot_scripts/TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018.plt b/gnuplot_scripts/TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018.plt index 87b6374..f8db84a 100644 --- a/gnuplot_scripts/TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018.plt +++ b/gnuplot_scripts/TRY_exchange_rate_to_EUR_-_Turkish_Currency_and_Debt_Crisis_2018.plt @@ -4,22 +4,6 @@ # http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html -# download and unzip data if not available -# code only für Unix-Shells sh, bash, ... -# remove or comment out these lines in Windows/MacOS. an load fram source manualy -# -# sh: remove file eurofxref-hist.csv if last zip-file is not from today -! [ -f upload-from-$(date '+%Y-%m-%d').zip ] || \ - remove eurofxref-hist.csv \ - -O upload-from-$(date '+%Y-%m-%d').zip -# sh: get new zip-file from EZB if last zip-file is not from today -! [ -f upload-from-$(date '+%Y-%m-%d').zip ] || \ - wget http://www.ecb.int/stats/eurofxref/eurofxref-hist.zip \ - -O upload-from-$(date '+%Y-%m-%d').zip -# sh: extract zip-file if nesesarry -! unzip -o upload-from-$(date '+%Y-%m-%d').zip - - # Start und Ende ermitteln (z.Zt. nur für Consolenausagabe) stats 'eurofxref-hist.csv' every ::1 u (strptime("%Y-%m-%d",strcol(1))) nooutput print ' -----Stats-(Timestamp)----'