Skip to content
Snippets Groups Projects
  • thomaswoehlke's avatar
    94ff5ea7
    ### 0.0.12 Release · 94ff5ea7
    thomaswoehlke authored
    * Fixed #52 download vaccination timeline data file
    * Fixed #53 import vaccination timeline data file into db
    * Fixed #54 /vaccination/imported
    * Fixed #55 /vaccination/tasks
    * Fixed #56 /vaccination/info
    
    ### 0.0.13 Release
    * Fixed #49 EuropeServiceUpdate.__update_data_short() (wontfix)
    * Issue #47 refactor Routes from app.py to org...who,europe,...
    * Issue #48 refactor Tasks from server_mq.py to org...who,europe,...
    * Issue #57 frontend: use npm for handling 3rdParty css and javascript modules like jQuery, Bootstrap
    * Issue #58 frontend: remove jumbotron from all pageheader, put jumbotron as main content on home page
    * Issue #59 frontend: add correct breadcrumb to every page
    * Issue #60 frontend: better design for tables
    * Issue #61 frontend: better design for navtabs
    * Issue #62 frontend: better design for pages
    * Issue #63 frontend: add footer design
    * Issue #64 major refactoring: create two packages: for web app and for celery worker
    * Issue #65 major refactoring: add flask-blueprints for admin, common, europe, rki, vaccination, who
    94ff5ea7
    History
    ### 0.0.12 Release
    thomaswoehlke authored
    * Fixed #52 download vaccination timeline data file
    * Fixed #53 import vaccination timeline data file into db
    * Fixed #54 /vaccination/imported
    * Fixed #55 /vaccination/tasks
    * Fixed #56 /vaccination/info
    
    ### 0.0.13 Release
    * Fixed #49 EuropeServiceUpdate.__update_data_short() (wontfix)
    * Issue #47 refactor Routes from app.py to org...who,europe,...
    * Issue #48 refactor Tasks from server_mq.py to org...who,europe,...
    * Issue #57 frontend: use npm for handling 3rdParty css and javascript modules like jQuery, Bootstrap
    * Issue #58 frontend: remove jumbotron from all pageheader, put jumbotron as main content on home page
    * Issue #59 frontend: add correct breadcrumb to every page
    * Issue #60 frontend: better design for tables
    * Issue #61 frontend: better design for navtabs
    * Issue #62 frontend: better design for pages
    * Issue #63 frontend: add footer design
    * Issue #64 major refactoring: create two packages: for web app and for celery worker
    * Issue #65 major refactoring: add flask-blueprints for admin, common, europe, rki, vaccination, who

covid19python

  • Version 0.0.5 SNAPSHOT

git

gitlab

github

Data Sources:

Python

Info

Database

WHO

who_date_reported

CREATE TABLE public.who_date_reported (
    id integer NOT NULL,
    date_reported character varying(255) NOT NULL
);
class WhoDateReported(db.Model):
    __tablename__ = 'who_date_reported'

    id = db.Column(db.Integer, primary_key=True)
    date_reported = db.Column(db.String(255), unique=True, nullable=False)

who_region

CREATE TABLE public.who_region (
    id integer NOT NULL,
    region character varying(255) NOT NULL
);
class WhoRegion(db.Model):
    __tablename__ = 'who_region'

    id = db.Column(db.Integer, primary_key=True)
    region = db.Column(db.String(255), unique=True, nullable=False)

who_country

CREATE TABLE public.who_country (
    id integer NOT NULL,
    country_code character varying(255) NOT NULL,
    country character varying(255) NOT NULL,
    region_id integer NOT NULL
);
class WhoCountry(db.Model):
    __tablename__ = 'who_country'

    id = db.Column(db.Integer, primary_key=True)
    country_code = db.Column(db.String(255), unique=True, nullable=False)
    country = db.Column(db.String(255), unique=False, nullable=False)
    region_id = db.Column(db.Integer, db.ForeignKey('who_region.id'), nullable=False)
    region = db.relationship('WhoRegion', lazy='joined') 

who_global_data

CREATE TABLE public.who_global_data (
    id integer NOT NULL,
    cases_new integer NOT NULL,
    cases_cumulative integer NOT NULL,
    deaths_new integer NOT NULL,
    deaths_cumulative integer NOT NULL,
    date_reported_id integer NOT NULL,
    country_id integer NOT NULL
);
class WhoGlobalData(db.Model):
    __tablename__ = 'who_global_data'

    id = db.Column(db.Integer, primary_key=True)
    cases_new = db.Column(db.Integer, nullable=False)
    cases_cumulative = db.Column(db.Integer, nullable=False)
    deaths_new = db.Column(db.Integer, nullable=False)
    deaths_cumulative = db.Column(db.Integer, nullable=False)

    date_reported_id = db.Column(db.Integer, db.ForeignKey('who_date_reported.id'), nullable=False)
    date_reported = db.relationship('WhoDateReported', lazy='joined')

    country_id = db.Column(db.Integer, db.ForeignKey('who_country.id'), nullable=False)
    country = db.relationship('WhoCountry', lazy='joined')

who_global_data_import

CREATE TABLE public.who_global_data_import (
    id integer NOT NULL,
    date_reported character varying(255) NOT NULL,
    country_code character varying(255) NOT NULL,
    country character varying(255) NOT NULL,
    who_region character varying(255) NOT NULL,
    new_cases character varying(255) NOT NULL,
    cumulative_cases character varying(255) NOT NULL,
    new_deaths character varying(255) NOT NULL,
    cumulative_deaths character varying(255) NOT NULL,
    row_imported boolean NOT NULL
);
class WhoGlobalDataImportTable(db.Model):
    __tablename__ = 'who_global_data_import'

    id = db.Column(db.Integer, primary_key=True)
    date_reported = db.Column(db.String(255), nullable=False)
    country_code = db.Column(db.String(255), nullable=False)
    country = db.Column(db.String(255), nullable=False)
    who_region = db.Column(db.String(255), nullable=False)
    new_cases = db.Column(db.String(255), nullable=False)
    cumulative_cases = db.Column(db.String(255), nullable=False)
    new_deaths = db.Column(db.String(255), nullable=False)
    cumulative_deaths = db.Column(db.String(255), nullable=False)
    row_imported = db.Column(db.Boolean, nullable=False)

Milestones

0.0.1 Release

0.0.2 Release

0.0.3 Release

0.0.4 Release

0.0.5 Release

  • Fixed #1 (closed) Async Tasks for import and update Data with Celery and RabbitMQ
  • Fixed #2 (closed) Move Repo to github

0.0.6 Release

  • Fixed #6 (closed) data of all reported countries for WHO date reported
  • Fixed #7 (closed) WHO Countries all - data for Country

0.0.7 Release

0.0.8 Release

0.0.9 Release

0.0.10 Release

0.0.11 Release

0.0.12 Release

0.0.13 Release

  • Fixed #49 (closed) EuropeServiceUpdate.__update_data_short() (wontfix)
  • Issue #47 (closed) refactor Routes from app.py to org...who,europe,...
  • Issue #48 (closed) refactor Tasks from server_mq.py to org...who,europe,...
  • Issue #57 (closed) frontend: use npm for handling 3rdParty css and javascript modules like jQuery, Bootstrap
  • Issue #58 (closed) frontend: remove jumbotron from all pageheader, put jumbotron as main content on home page
  • Issue #59 frontend: add correct breadcrumb to every page
  • Issue #60 (closed) frontend: better design for tables
  • Issue #61 frontend: better design for navtabs
  • Issue #62 (closed) frontend: better design for pages
  • Issue #63 frontend: add footer design
  • Issue #64 (closed) major refactoring: create two packages: for web app and for celery worker
  • Issue #65 (closed) major refactoring: add flask-blueprints for admin, common, europe, rki, vaccination, who

0.0.14 Release

  • Issue #28 (closed) /admin/database/import
  • Issue #39 (closed) SQLalchemy instead of SQL: AllModelClasses.remove_all()
  • Issue #40 (closed) SQLalchemy instead of SQL: EuropeDataImportTable.get_date_rep()
  • Issue #41 (closed) SQLalchemy instead of SQL: EuropeDataImportTable.get_countries_of_continent()
  • Issue #42 (closed) SQLalchemy instead of SQL: WhoGlobalDataImportTable.get_new_dates_as_array()

0.0.15 Release

  • Issue #5 Visual Graphs for Data per Countries order by Date