Comments (7)
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.
@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.
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.
@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:
- How the number of total cases is rendered? and
- 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.
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.
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.
Hong Kong Government :)
from warsinhk.
Related Issues (20)
- Improve English Translations
- Add loading indicator to cases list
- Reduce size of case data
- [Cases] Support search by case number
- Untranslated `cases.status_pending_admission` in cases page HOT 1
- [Case Individual Page] First show English lang and jump to Chinese lang, SEO in English
- cannot run with older node version (<=10) HOT 6
- Add share button for individual case
- [World] Add case per 1 million people HOT 3
- Case page accept query strings for preset view/search filter keys/group
- Add group description under the group name
- Map zooms out when the same location is clicked
- Map zooms out unnecessarily when focusing on a location
- Slow performance of case pages
- Search / Filter asymptomatic cases
- Add asymptomatic figures at the summary HOT 1
- Updated csv for Confirmed cases HOT 3
- Request for CHP number of local case group HOT 2
- looking for a updated CSV for 2022 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warsinhk.