Skip to content

mikss/nypdcd

Repository files navigation

nypdcd

Parsing of NYPD complaints data

Setup

  1. Install Xcode Command Line Tools:
    1. open up a terminal, run xcode-select --install, and agree to the prompt.
  2. Clone this repository:
    1. set up an SSH key;
    2. run
      mkdir -p ~/src/github/
      cd ~/src/github
      git clone [email protected]:mikss/nypdcd.git
      cd nypdcd
      
  3. Bootstrap your development environment:
    1. run make, which will install and set up
      1. brew (package manager)
      2. direnv (env vars based on the current directory)
      3. pre-commit (manage git hooks)
      4. a python virtual environment with all dependencies;
    2. add the direnv shell hook to your shell config (e.g., ~/.zshrc);
    3. refresh your shell with exec $SHELL.
  4. Fetch data: run make local-copy to save a local copy of NYPD complaints data via Socrata API.

About

Parsing of NYPD complaints data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages