Jonas: first part of Task 2

This commit is contained in:
Jonas Weinz 2018-05-11 12:19:53 +02:00
parent 9769375e17
commit 2144b93e56
2 changed files with 490 additions and 141 deletions

File diff suppressed because one or more lines are too long

View File

@ -45,10 +45,12 @@ D1_ZIP=${D1_URL##*/}
D2_URL=https://raw.githubusercontent.com/GeorgeMcIntire/fake_real_news_dataset/master/fake_or_real_news.csv.zip D2_URL=https://raw.githubusercontent.com/GeorgeMcIntire/fake_real_news_dataset/master/fake_or_real_news.csv.zip
D2_ZIP=${D2_URL##*/} D2_ZIP=${D2_URL##*/}
set_action "downloading and unpacking $D1_URL if not already existing" set_action "checking whether unzip is installed"
# testing for unzip: # testing for unzip:
perform_and_exit unzip -v perform_and_exit unzip -v
confirm_action
set_action "downloading and unpacking $D1_URL if not already existing"
perform_and_exit mkdir -p ./data perform_and_exit mkdir -p ./data
perform_and_exit cd ./data/ perform_and_exit cd ./data/