Cambridge Covid

is a Twitter bot that reports COVID-19 data for the City of Cambridge, MA.

About

Cambridge Covid is a Twitter bot built using Python and the Twitter API. It uses the data provided to the public by the City of Cambridge, and the Cambridge Public School District on their respective websites, and formats it in a convienent and easily digestible way. It was originally created by Tavien Pollard (@TaviPollard) for a school project in his Computer Science class at Cambridge Rindge and Latin School, and is maintained by Tavien Pollard, Toby Mallon, and GitHub contributers.

Every evening, the bot Tweets to @CambridgeCOVID, with the most recent available data.

How It Works

The data is retrived using the Selenium (using chromedriver) Python library, and parsed with BeautifulSoup. It is re-formatted, and then sent to Twitter using the Twitter API through Tweepy.

Sadly, our code is temporarily private due to details surrounding the school project, but there will be a public Git repository as soon as that option is available to us. If you are interested in working to improve CambridgeCovid, you can still become a contributer by emailing us at admin@cambridgecovid.tavienpollard.com, and we can give you access to the code.

Sources

Our python script uses https://cityofcambridge.shinyapps.io/COVID19/ to get data for the City of Cambridge as a whole, and for Universities within Cambridge. Our script also uses https://www.cpsd.us/covid19data to get data for the Cambridge Public Schools.

Contact

You can contact us about bugs, feature ideas, or anything else by emailing us at admin@cambridgecovid.tavienpollard.com.