Inspiration
We were interested in how much the STM actually serves the population of the island of Montreal and how difficult it is for people to get around town in underserved locations.
What it does
Using databases from the city of Montreal and from the STM, the program formats and analyzes the data to give out a rating for every borough of Montreal based on how many people live in the borough, the boroughs size and the amount of STM bus stops in the borough.
How we built it
A python backend that uses the google maps API and STM datasets. An HTML and haskell front end to display the results.
Challenges we ran into
Using the google geo coding api to map (latitude, longitude)->borough was a difficult task to accomplish. We were limited by the amount of requests we could to make to the api by 25000 and we had to >9000 data points the needed to pass to the function. Thus we did not really have room for much error. Our solution was to write the data that was returned by the api to a file so that it would be stored and so we would limit the amount off requests we make.
Accomplishments that we're proud of
Being able to scrape the massive amount of data (one file was 9k+ lines long) to produce a result.
What we learned
Websites/Servers, using API's. Dataset analysis and parsing.
What's next for TryHarderSTM
Right now its a heavy WIP but making it usable by any person with the necessary datasets and a valid google maps API key
Team Name
Squad2019 William Tarte Dan Soucy Noam Cohen Nathaniel Haboucha
Built With
- google-geocoding
- haskell
- html
- python
Log in or sign up for Devpost to join the conversation.