Open Policing Project (OPP)
- gdal-devel
- proj-nad
- proj-epsg
- proj-devel
- v8-314-devel (libv8-3.14-dev ubuntu)
- libjpeg-turbo-devel
- [command line] Clone the repository
git clone https://github.com/stanford-policylab/opp.git
- [command line] Change directories
- [command line] Start R
- [R] install the required packages
install.packages(c(
"digest",
"fs",
"functional",
"getopt",
"glue",
"here",
"jsonlite",
"knitr",
"lubridate",
"lutz",
"maps",
"purrr",
"rgdal",
"rlang",
"rmarkdown",
"rstan",
"sp",
"stringr",
"suncalc",
"tidyverse",
"zoo"
))
- [R] load the main library
- [R] download some clean data
opp_download_clean_data("wa", "seattle")
- [R] load the clean data
d <- opp_load_clean_data("wa", "seattle")