A project focused on web scraping the Brockton Police website for dispatch logs to identify opportunities to better the community.
For more details look into the src
directory:
CRAWLER.R
for how I'm crawling the websiteParser.R
for how I'm converting PDFs to texts and extracting relevant informationsAnalysis.R
for how I'm shaping the data and extracting meaningful insightsThe project is written entirely in R at the moment. An updated version of R and RStudio should be sufficient to run all the codes.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
The project is mostly writing in R. We follow Google's R Style Guide to make the code "easier to read, share, and verify".
See also the list of contributors who participated in this project.
This project was inspired by;
A shiny app developed by Jeffrey D. Allen. You can find more details here.
The book Automated Data Collection with R which gave me a strong foundation to build the crawler.r and parser.r.
Last but not least, Catalina Garcia Franklin who interviewed me for a position with Facebook back in 2015 and suggested I start a pet project.