X-Git-Url: https://code.communitydata.science/ml_measurement_error_public.git/blobdiff_plain/3d1964b806106d76f13301f0cf6dccf35cd7d66c..ce6d12d4e6955ba501c9b7ca6715646cf52a5815:/civil_comments/Makefile

diff --git a/civil_comments/Makefile b/civil_comments/Makefile
index 3c331c2..ab05a35 100644
--- a/civil_comments/Makefile
+++ b/civil_comments/Makefile
@@ -1,6 +1,14 @@
+qall: iv_perspective_example.RDS dv_perspective_example.RDS
+
 srun_1core=srun -A comdata -p compute-bigmem --mem=4G --time=12:00:00 -c 1 --pty /usr/bin/bash -l
+srun=srun -A comdata -p compute-bigmem --mem=4G --time=12:00:00 --pty /usr/bin/bash -l
+
 perspective_scores.csv: perspective_json_to_csv.sh perspective_results.json
 	$(srun_1core) ./$^ $@
 
+iv_perspective_example.RDS: 02_iv_example.R perspective_scores.csv
+	$(srun) Rscript $<
 
+dv_perspective_example.RDS: 01_dv_example.R perspective_scores.csv
+	 $(srun) Rscript $<