Inspiration
We wanted to help English speakers discover notable places within foreign cities that many other English speakers have gone to.
What it Does
Our interactive web page allows users to select a city and category to view the top 15 locations of that category within the specified city, sorted by total number of reviews. There is a star next to the location with the most English reviews and a Sinhalese script next to the location with the least. The user can use the map to get directions to a chosen location.
How We Built It
We used Tour-Pedia's API to fetch data about the locations, categories, and reviews. Then we used pandas to clean the data. This data was then analyzed and implemented into our webpage through JavaScript and HTML. We also used MapBox's API to implement a map on our webpage.
Challenges We Ran Into
- The data retrieved from Tour-Pedia's API had multiple missing or incorrect values and required extensive cleaning for it to be usable.
- Accessing the data for the reviews required accessing specific rows in the data frame and creating a new data frame with the data.
Accomplishments We Are Proud Of
- We retrieved the data from the API and managed to visualize it
- We created a functioning webpage and incorporated a working map into it
What We Learned
- Data Manipulation and Visualization with Pandas
- API Usage (MapBox, Tour-Pedia)
- Team Communication and Problem Solving
What's Next
Currently, Tour-Pedia's API only has data for 8 cities with reviews from 2012-2013. The next steps for Trailblazer are to gather data on more cities with reviews written more recently to provide travelers with the most updated information.
Log in or sign up for Devpost to join the conversation.