Inspiration

The prevalence of child sexual abuse is difficult to determine because it is often not reported; experts agree that the incidence is far greater than what is reported to authorities.

What it does

Given two locations A and B in San Francisco, we draw a route between the two locations. We would have also theoretically marked all the sex offenders within a certain radius along the route.

How we built it

We used React for the frontend while Flask did all the API calling from Inrix and Google. We also used a scrapper to scrape information about the location of sex offenders.

Challenges we ran into

One big challenge that we ran into was connecting Flask and React. We needed to pass variables from React to Flask while also passing the result of API calls from Flask to React. We also had difficulties drawing the route from location A to location B on the map.

Accomplishments that we're proud of

We are able to utilize Inrix's routing API to get coordinates from location A to location B and graph it out on a map. And we were also able to use a scrapper to get information about the location of sex offenders.

What we learned

We learned how to link Flask and React as well as how to dynamically update our token for APIs. We also learned how to insert maps and draw routes on it.

What's next for High Alert

Ideally, we would mark all the sex offenders in a certain radius along a route. Going forward, we would also like to display multiple routes between the two locations, allowing the user to choose which route to look at as well as extend functionality to include walking routes. Unfortunately, due to how the Inrix API was structured, we were unable to pull navigation data for this. One emphasis for this use case: since many children have to walk to school daily, we want both parents and children to being able to avoid more dangerous locations and feel at ease.

We would also like to extend the data to include other crimes- especially areas with high crime rates, and other violent activities.

Share this project:

Updates