Skip to content
Safe Route project at All Women Hackathon
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead of llostris:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
demo
open-data
static
.gitignore
README.md
safe_route.py
stars.png
style.css
user_feedback.html

README.md

Safe Route: Our entry for the 2017 All-Women Hackathon

Description

This is a branch of the code for the app that my team built during the 2017 All-Women Hackathon.

Selected Challenge: Women Safety

Women are particularly vlunerable on the street. Certain harassments are often specific to gender, such as catcalling, sexual assault, and kidnapping. They are also time sensitive, since many areas are far safer in the daytime than nighttime. Routes generated from maps like Google don't indicate what one may encounter on the street. My team intended to create a web app that will let user to choose a route that is best for their time of travel and gender.

Solution

The app lets user enter their location, destination, and time of travel. Using Google Map API, it will create a route with alternative option, but it will also include safety rating. The rating include keywords indicating crime and color-coded circle indicating dangerous level, both of which came from SFPL data and user feedback.

Technology

The map are generated from Google Map API. The crime data are extracted real time from Socrata OpenData, The backend is a mix of Flask and Express. The frontend is Bootstrap

Contribution

Working with my teammates, Grace and Steph, we generated database parameters for the crime data and keywords for the user feedback. I research into the SFPD crime OpenData, then extracted and filtered the JSON data with SoQL (system-specific version of SQL), ES6 higher order functions, and REST according to the database parameters that my teammate and I decided beforehand. My part of the script can be found at this file

Final Product

Start Screen Final Screen

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.