-
Notifications
You must be signed in to change notification settings - Fork 0
/
covid.sh
executable file
·48 lines (27 loc) · 1.24 KB
/
covid.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
##!~/Documents/A-tracking-of-COVID-19/
# activating anaconda environment
source activate Data_Science_in_R
############################################
# opening a project in R-Studio
# rstudio A-tracking-of-COVID-19.Rproj
# exicuting the desired R-Script(s)
echo "---------------------------- Running dataCleaner.R ----------------------------"
Rscript COVID-19/dataCleaner.R
echo "---------------------------- Running datasets.R ----------------------------"
Rscript COVID-19/datasets.R
echo "----------------------- Over For A-tracking-of-COVID-19 -----------------------"
############################################
# opening other project
cd ../COVID-19-India/india-today
echo "----------------------------- Running scrapingData.R -----------------------------"
Rscript scrapingData.R
echo "----------------------------- Running india.R -----------------------------"
Rscript india.R
echo "----------------------------- Running dataset.R -----------------------------"
Rscript dataset.R
echo "----------------------------- Over For COVID-19-India ----------------------------"
############################################
# didplaying msg before quitting anaconda
echo "All done for now!!"
# deactivating the environment
conda deactivate