Inspiration
We wanted to create a website that contains covid regulations in states and establishments all in one place.
What it does
Our program is an interactive map that contains location-specific covid regulations as well as specific rules in place in establishments.
How I built it
We used the Python language to build the program, using certain libraries such as Folium and Geopy to display markers on the map. We used HTML and Javascript to transfer this map into a webpage, and used CSS to edit the webpage.
Challenges I ran into
The first problem we encountered was in reading our CSV file. We found that the encoding of our CSV file was not compatible with how our code processed the CSV file.
We solved this issue by inserting a line of code to change the encoding of the CSV file when it was read by Pandas to make it compatible.
Our second main problem was in how our map functions.
Originally, we wanted the city, in this case Chicago, to be a marker that would zoom into the map when clicked. We could not find a way to do that using the folium library, so we instead created clusters, a zone containing many specific locations. When clicked on, it zooms into the map and shows the markers for our restaurants.
Accomplishments that I'm proud of
We are proud of our utillization of web scraping in finding up-to-date information, as well as our use of Folium in creating interactive maps.
What I learned
We learned how to use web scraping as well as how to use Folium.
What's next for Interactive Covid Map
Because we only had 2 days to complete this project, we could not complete all the enhancements we would want to develop if we had more time.
Currently our map shows information for Chicago and its restaurants. Given more time, we would expand this to more cities and more types of establishments, as well as make it available across countries and languages.
To increase accessibility, we would also want to turn this into a mobile app.
Finally, we would like to generalize our web scraping function. Currently, it is generalized enough to be applied to major cities, and we would like to generalize it further so it can be applied to the webpages of the businesses in each city.
Log in or sign up for Devpost to join the conversation.