Coder Social home page Coder Social logo

msusicky / ockovani-covid Goto Github PK

View Code? Open in Web Editor NEW
62.0 62.0 9.0 14.38 MB

Repozitář pro projekt zobrazující statistiky očkování.

Home Page: https://ockovani.opendatalab.cz

License: Apache License 2.0

Python 31.41% HTML 23.87% Shell 0.15% Mako 0.03% Dockerfile 0.04% CSS 0.08% Jupyter Notebook 44.32% JavaScript 0.10%
covid19

ockovani-covid's Issues

Dates handling

It is necessary to solve date handling - insert new dates and delete old one ?

Add more info to the free slots overview

Overview of free slots in "mista" page should contain info about people in queue, ratio of successful reservations within last week, ...

How to include something similar in okres/kraj/misto pages?

  • People in queue
  • Ratio of new reservations in last week
  • Number of vaccines that arrived in the last 7 days
  • Vaccines needed for the 2nd round - #55

Load last update time from data

Store time of the source data update to the imports table and print this time instead of the time when fetcher started

Show time of the last web update and time of the last data update

Store min date and max date and compare them if they are all from the same day? - fail if new data are not present

Move to the new domain - ockovani.opendatalab.cz

To have better URL we'd decided to move under OpenDataLab (@msusicky is one of the leader)
It is already active, but now only redirecting to old repo.

  • Prepare branch with working menu links etc
  • Have a message on the intro page about move
  • Change github pusher
  • Have both working for 2 days - weekend
  • Do a redirect from the old repo

Fetch total capacity

Add "celkem_mista" to VolnaMistaDen and VolnaMistaCas, this info has to be fetched from different API endpoint (TODO)

Statistics - improve

It is necessary to check how big is the difference between consumption and vaccinated people - mista.
It looks that vaccination is better source, or consumption is D-2.

Vaccination center detail

We have more details in object OckovaciMisto than we actually use -> add them to the top of the vaccination center page

Create a leaflet map

It will be great to have Leaflet map there.
New link on the top is expected with description Map.
All vaccination places should be there - fetched from opendata from UZIS.

Idea - reservation - compute date of assignment

In data there is a flag if registered person has reservation or not. But there is no date of the assignement. Makes sense to compute it from today and yesterday data and put it as a result. Maybe to realize it with trigger ?

Plus -> see how long does it take to obtain a reservation. -> powerful metric

Github actions pipeline

  • check if main and develop branches are in sync (merges from develop will not bring conflicts)
  • check if main and develop are protected
  • improve logging and exit code of used scripts
  • implement pipeline for main update - deploy to prd environment and update static pages
  • implement pipeline for develop update - deploy to test environment
  • implement scheduled pipeline for data update

Depends on: #97

Add exclamation marks

We have more and more notes and warnings in tooltips which are hardly visible - clean and visible way could be exclamation mark next to the column name and tooltip with description.

Improve vaccination center detail

  • check data - count of used vaccines can be outdated for some vaccination centers - (it is but, warnign added)
  • thousands separator in numbers
  • add doses to model
  • use doses instead of ampoules
  • compute stats using pandas instead of SQL and plain python
  • create reusable UI component
  • hide overflows of category column - tooltip with whole description

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.