Giter VIP home page Giter VIP logo

covid_scraper's Introduction

COVID Scraper

Overview

This project retrieves data from the Electric Boat EBLanding COVID-19 Case Report Summary website and plots it in interesting ways. The Susceptible, Infected, Recovered (SIR) model for disease spread is used to project "the curve" at Electric Boat.

Execution

Run python3 main.py from your terminal.

Methods

main.py is the driver that calls all functions.

scrape.py uses the requests and beautifulsoup libraries to make the http request to the URL and parse the html.

covid_case.py contains a single class that is a template for one COVID-19 case at Electric Boat.

analyze.py contains functions that organize the COVID case data by facility, department, etc. This module also curve-fits an SIR disease spread model to the actual Electric Boat recorded case data.

plot.py plots the data using the matplotlib library.

db.py is currently in testing, and adds COVID case data to a PostgreSQL database.

log.py sets up a logger that logs to covid.log, which is not under version control.

Example Output

Example Output

covid_scraper's People

Contributors

twcarbone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.