Coder Social home page Coder Social logo

larry-bioengineer / covid19inhk Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7.9 MB

A website displaying analytics on the Hong Kong situation during the COVID-19 pandemic

License: GNU General Public License v3.0

Python 82.12% Jupyter Notebook 16.18% HTML 1.71%

covid19inhk's Introduction

COVID-19 Hong Kong Situation Study

Goal

  1. Gain a better understand on the situation of Hong Kong Cases
  2. Better visualization of Hong Kong Outbreak

Development Milestone

Development Milestone

Import Data from Department of Health and Protection

Data Source

Center for Health Protection

Import tabular data

I am using camelot (ref: https://camelot-py.readthedocs.io/en/master/). This library scans each page of the document and looks for table-like object. Then, user can use it to generate a pandas dataframe object.

This picture represents how camelot processes a table within a PDF. It recognizes all the element and converts the data into a pandas dataframe object.

PDF Sample

Quick cheat sheet using Pandas dataframe

https://www.shanelynn.ie/using-pandas-dataframe-creating-editing-viewing-data-in-python/

Performing analytics

Analyzing location of self-quarantined personal

(https://towardsdatascience.com/geocode-with-python-161ec1e62b89)

Challenge facing right now

  • Camelot cannot recognize all the data on the PDF
    • possible solution:
      • download new data and see if camelot can read the new data better, it fills in the missing data in existing dataset
  • geopy cannot recognize a few street address in Hong Kong
    • possible solution:
      • text processing to a simpler address format
      • explain the location is an estimate with possible radius

Display data and analytics on a web app

Displaying analytics on a web app

I am using flask (ref: https://flask.palletsprojects.com/en/1.1.x/). Flask is python library for developing minimal application

Deploying the website

I am using Heroku (ref: https://dashboard.heroku.com/apps) Heroku allows users to deploy their flask app on their server for free.

covid19inhk's People

Contributors

larry-bioengineer 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.