Git Product home page Git Product logo

opp's Introduction

Open Policing Project (OPP)

Required System Packages

All Systems

  • R

Fedora

  • gdal-devel
  • proj-nad
  • proj-epsg
  • proj-devel
  • v8-314-devel (libv8-3.14-dev ubuntu)
  • libjpeg-turbo-devel

Mac

Getting Started

  1. [command line] Clone the repository
git clone https://github.com/stanford-policylab/opp.git
  1. [command line] Change directories
cd opp/lib
  1. [command line] Start R
R
  1. [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"
))
  1. [R] load the main library
source("opp.R")
  1. [R] download some clean data
opp_download_clean_data("wa", "seattle")
  1. [R] load the clean data
d <- opp_load_clean_data("wa", "seattle")

opp's People

Contributors

amyshoe avatar danjenson avatar jnu avatar tigerpaws avatar jgaeb avatar 5harad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.