GithubHelp home page GithubHelp logo

Comments (7)

kalvin807 avatar kalvin807 commented on July 23, 2024 1

Both numbers of total cases and last update are fetched from CHP by a bot.
See implementation here and data source here.

While the data of details of each confirmed case is maintained by volunteers.

from warsinhk.

cswbrian avatar cswbrian commented on July 23, 2024 1

@yookoala nearly all our data are manually inputted as CHP data is updated at midnight 0200 next day, which is already too late.

The below data is inputted by me directly :0)
How the number of total cases is rendered? and
How the "last update" date is rendered?

from warsinhk.

kalvin807 avatar kalvin807 commented on July 23, 2024

It is due to the data is not here yet. If you go to the CHP website (as of 24 March 17:14), the number of total cases and the number of cases with details are also not in sync. Therefore, there is no fix for it, perhaps a sidenote explaining this may help.

from warsinhk.

yookoala avatar yookoala commented on July 23, 2024

@kalvin807: I believe the case list is rendered from scrapping this PDF (please correct me). So there is a different data source about the "latest case number" from the case list. So could you (or other developer) please help explaining more about:

  1. How the number of total cases is rendered? and
  2. How the "last update" date is rendered?

I understand there are problem with the source data. I think there might be way to present the data to prevent confusion. Thanks.

from warsinhk.

cswbrian avatar cswbrian commented on July 23, 2024

There was a 'View more' button at the after the most 5 (or 10 for desktop) new cases in the front page.
It is accidentally removed after the release of modular feature on Sunday.
@nandiheath

from warsinhk.

yookoala avatar yookoala commented on July 23, 2024

I'm checking on the source 本港2019冠狀病毒病的最新情況 (this csv that the site is using). I found no description on what those columns are meant to be.

I presumed:

符合呈報準則個案 = 確診個案 + 排除個案 + 仍然住院接受檢查個案 + 疑似個案

which matches most of the days, but not all. On the 21st March row, this equation gives -2. And yesterday, the equation gives -13. What the XXXX?

from warsinhk.

kalvin807 avatar kalvin807 commented on July 23, 2024

Hong Kong Government :)

from warsinhk.

Related Issues (20)

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.