We are submitting as beginners: This is our first hackathon
We were inspired to create this website because it is important for people to realize if they have to quarantine after returning home to or visiting the Tristate area. Limiting the spread of COVID19 saves lives, reduces the strain on the health care system and helps the economy recover more quickly.
What it does
The user selects from which State they are entering the Tristate area. The program then scrapes the data from the COVID tracking project, calculates the necessary statistics and compares it to the Tristate area's regulation. Finally, the program returns whether the user has to quarantine or not when (re-) entering the Tristate area.
How we built it
We first created the python script to web-scrape the data. Then we used BeautifulSoup to parse the data efficiently and used SQLite to connect to our table containing additional data needed. Then we built the logic about whether a quarantine is necessary using if statements. Then we used html for the front end. Finally, we used crontab to refresh our data and keep it up to date.
Challenges we ran into
Some challenges we faced were connecting the python code with the html code along with figuring out how to keep our data updated. We solved these problems by using Crontabs and writing the entire html code through the python script.
Accomplishments that we're proud of
One accomplishment we are proud of is that we successfully connected CronTab to our Python program in order to regularly update our data and keep the users up to date.
What we learned
Throughout the process of creating our project we learned many things from working efficiently together as a team to exploring new aspects of programming languages. One of the main things we learned was to schedule a program to run using crontab.
What's next for Tristate Quarantine Tracker
We plan to implement the travel advice for states other than the tristate area, and for other countries, including Europe. We plan to expand globally and help governments worldwide to contain the spread of COVID-19.