Skip to content

kstrauch94/Crime-Prediction-with-Tweets

Repository files navigation

Crime Prediction with Tweets in Chicago

Binder

Preprocessing

The preprocessing of crimes incidents and tweets has already been done, and its result are saved in this repo. In case you would like to preform it by yourself again (takes ~ 2 hours), follow these steps:

  1. Make sure that the directory data/processed/ exists and empty.
  2. Place all the JSON files from Raw Collected Tweets in data/raw/tweets/.
  3. Export Chicago Crimes - 2001 to present) as CSV file, and place it in data/raw/
  4. Run the Pipeline Jupyter Notebook.