This project demonstrates the use of spatial clustering on census blocks in the Casper, WY area.
The fictitious application is determining the number and placement of vans that deliver "handwritten" greeting cards within Casper.
The concept is based off of Theodore's job in the movie "Her".

I've written blog posts discussing this project, take a look if you're interested or want some background!
- Part 1: Data Cleaning & Setup
- Part 2: OSRM & Weighted Clustering (Look at this if you need help setting up OSRM)
- Part 3: Equalify
- Part 4: Discrete Event Simulation
- Part 5: Shiny and Conclusion
Live shiny app: https://gcatl.in/love_letters/
Data were obtained from the 2020 Decennial Census P.L. 94-171 Redistricting Data and are in the cens_files folder. The zipped originals (name lookup tables, import scripts, data) are in the files_used folder.
All R scripts are in the R folder, with names corresponding to the order they were used in. All R objects (cleaned data, etc.), are in the R_Objects folder.