-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
126 lines (107 loc) · 4.07 KB
/
Makefile
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.PHONY: clean
Report\ File/Project_1_report.pdf:\
Report\ File/Project_1_report.Rmd\
Overall_plots/plot_files/Table1.rds\
Overall_plots/plot_files/Exposure_time2.png\
Overall_plots/plot_files/Battle_deaths_Both3.png\
Overall_plots/plot_files/War_type_deaths_Americas_4.png\
Overall_plots/plot_files/Start_year_5.png\
Overall_plots/plot_files/Abs_6.png\
Overall_plots/plot_files/Rel_7.png\
Aim1_deaths/model_outputs/nonImpSimp1.rds\
Aim1_deaths/model_outputs/nonImpSimp2.rds\
Aim1_deaths/model_outputs/nonImpTr1.rds\
Aim1_deaths/model_outputs/nonImpTr2.rds\
Aim1_deaths/model_outputs/ImpTr1.rds\
Aim1_deaths/model_outputs/ImpTr2.rds\
Aim1_deaths/model_outputs/IntlnonImpTr1.rds\
Aim1_deaths/model_outputs/IntlnonImpTr2.rds\
Aim1_deaths/model_outputs/IntlnonImpTr1.rds\
Aim1_deaths/model_outputs/IntlnonImpTr2.rds\
Overall_plots/plot_files/Gap_stat.png\
Aim2_out_clustering/Cluster_Files/Aim2_TSNE.png\
Aim2_out_clustering/Cluster_Files/Aim2_out_clustering.rds\
Networks/Network_Files/Ov.png\
Networks/Network_Files/Membership.png\
Networks/Network_Files/Membership_consolidated.png\
Overall_plots/Python_proj_violin.png
Rscript -e "rmarkdown::render('Report\ File/Project_1_report.Rmd')"
clean:
rm -f derived_data/*.rds
rm -f derived_data/*.csv
rm -f Overall_plots/plot_files/*.rds
rm -f Overall_plots/plot_files/*.png
rm -f Overall_plots/*.png
rm -f Aim1_deaths/model_outputs/*.rds
rm -f Aim2_out_clustering/Cluster_Files/*.png
rm -f Aim2_out_clustering/Cluster_Files/*.rds
rm -f Networks/Network_Files/*.png
rm -f Report\ File/*.pdf
rm -f Report\ File/*.tex
derived_data/Overall.csv\
derived_data/gower_dist.rds\
Overall_plots/plot_files/Gap_stat.png:\
source_data/INTRA-STATE\ WARS\ v5.1\ CSV.csv\
derived_programs/Overall.R
Rscript derived_programs/Overall.R
derived_data/International.csv:\
source_data/INTRA-STATE_State_participants\ v5.1\ CSV.csv\
derived_programs/International.R
Rscript derived_programs/International.R
derived_data/network.rds:\
derived_data/International.csv\
derived_programs/Network.R
Rscript derived_programs/Network.R
Overall_plots/plot_files/Table1.rds\
Overall_plots/plot_files/Exposure_time2.png\
Overall_plots/plot_files/Battle_deaths_Both3.png\
Overall_plots/plot_files/War_type_deaths_Americas_4.png\
Overall_plots/plot_files/Start_year_5.png\
Overall_plots/plot_files/Abs_6.png\
Overall_plots/plot_files/Rel_7.png:\
derived_data/Overall.csv\
Overall_plots/Overall_plots.R
Rscript Overall_plots/Overall_plots.R
Networks/Network_Files/Ov.png:\
derived_data/network.rds\
Networks/Network_aim3.R
Rscript Networks/Network_aim3.R
Networks/Network_Files/Membership.png:\
derived_data/network.rds\
Networks/Network_aim3.R
Rscript Networks/Network_aim3.R
Networks/Network_Files/Membership_consolidated.png:\
derived_data/network.rds\
Networks/Network_aim3.R
Rscript Networks/Network_aim3.R
Aim2_out_clustering/Cluster_Files/Aim2_TSNE.png:\
derived_data/Overall.csv\
Aim2_out_clustering/Outcome_clustering.R
Rscript Aim2_out_clustering/Outcome_clustering.R
Aim2_out_clustering/Cluster_Files/Aim2_out_clustering.RDS:\
derived_data/Overall.csv\
Aim2_out_clustering/Outcome_clustering.R
Rscript Aim2_out_clustering/Outcome_clustering.R
Aim1_deaths/model_outputs/nonImpSimp1.rds\
Aim1_deaths/model_outputs/nonImpSimp2.rds\
Aim1_deaths/model_outputs/nonImpTr1.rds\
Aim1_deaths/model_outputs/nonImpTr2.rds\
Aim1_deaths/model_outputs/ImpTr1.rds\
Aim1_deaths/model_outputs/ImpTr2.rds:\
derived_data/Overall.csv\
Aim1_deaths/Domestic_No_time.R
Rscript Aim1_deaths/Domestic_No_time.R
Aim1_deaths/model_outputs/IntlnonImpTr1.rds\
Aim1_deaths/model_outputs/IntlnonImpTr2.rds\
Aim1_deaths/model_outputs/IntlImpTr1.rds\
Aim1_deaths/model_outputs/IntlImpTr2.rds:\
derived_data/International.csv\
Aim1_deaths/International_No_time.R
Rscript Aim1_deaths/International_No_time.R
Overall_plots/Python_proj_violin.png:\
derived_data/Overall.csv\
Overall_plots/Python_box_plot.py
python3 Overall_plots/Python_box_plot.py
.PHONY: shiny_app
shiny_app: derived_data/Overall.csv Shiny_explorer_scratch.R
Rscript Shiny_explorer_scratch.R ${PORT}