This repo contains code used to evaluate a criminal-justice forum
To run the pipeline:
Clone the repo:
cd desired_directory
git clone
the SSH clone url
To run the code on your local machine:
-
Set your working directory to the root of the project folder
- At terminal:
cd parole_forums
- In Rstudio console:
setwd("../parole_forums")
- At terminal:
-
Confirm your working directory is at the root of the project directory
- At terminal:
pwd
- In Rstudio console:
getwd()
- At terminal:
-
Run entire pipeline
- Automagically:
make all
- Automagically:
-
Singular task(s)
- Automatically
- At command line,
cd task-name && make all
- At command line,
- Manually
- In Rstudio console,
setwd("task-name"); source("src/task-name.r")
- In Rstudio console,
- Automatically
To test that code works:
- Do as above
- Do as above
- Run entire pipeline: Replace above with
make clean && make all
- Singular task(s):
- Automatically: Replace above with
cd task-name && make clean && make all
- Manually: Replace above with
setwd("task-name"); unlink("output", recursive = TRUE); source("src/task-name.r")
- Automatically: Replace above with
Replace "task-name" with name of relevant task
Further explanation:
At any level of project, use make help
to learn about other helpful make commands you can run.