Comments (9)
kindly reminder the bug also today
from covid-19.
we are working on the correction, thank you for letting us know
from covid-19.
fix #59 including all cities
from covid-19.
thanks all , but FYI the deceased key in each city undefined right know
from covid-19.
EX.
now :
مكة المكرمة: {
infected: "7410",
active: " 5537",
recovered: "1778"
}
but it should like that :
مكة المكرمة: {
infected: "7410",
active: " 5537",
recovered: "1778",
deceased: "95"
}
from covid-19.
I think you need to change this line in main.js
citiesArray.forEach(x =>
{
data[x]['infected'] = $(strong:contains(${x})
).closest('p').find("span[style='color:#e60000']").eq(0).text().replace(',','');
data[x]['active'] = $(strong:contains(${x})
).closest('p').find("span[style='color:#e69800']").eq(0).text().replace(',','');
data[x]['recovered'] = $(strong:contains(${x})
).closest('p').find("span[style='color:#70a800']").eq(0).text().replace(',','');
})
from covid-19.
Thanks, you are right. It is because I cannot see the deceased key for each city on the website (https://covid19.moh.gov.sa/en/). Before, we took the data from different endpoint (including deceased key) but those data were not actual.
If I am wrong and the deceased key can be found on the website, it can be fixed easily.
from covid-19.
yes you are right, but actual the deceased you can find it if you click on the name of city
from covid-19.
after you select the name of city you can find the deceased of this city in الوفيات section
from covid-19.
Related Issues (20)
- API for Poland HOT 4
- New API for Poland HOT 2
- Slovakia page has changed
- New API for Poland (Vaccinations Data) HOT 1
- FIX: czechia infectedByRegion HOT 2
- Polish Covid 19 HOT 2
- India's active case showing as total cases HOT 2
- Danish api have been moved HOT 2
- Vietnam API has the number of "treated" as wrong. HOT 1
- Polish COVID data HOT 1
- Poland data not working since 13.05 HOT 1
- Poland data not working since 08-07-2021 HOT 1
- Singapore Covid-19 Statistics API not working HOT 1
- Source page/URL for Singapore is broken HOT 2
- Poland data not working since 12-09-2021 HOT 4
- Turkey's COVID-19 data hasn't been updated since September 3 HOT 1
- Poland - handleRequestFunction failed HOT 1
- Italy data was updated 15 days ago HOT 1
- Poland data not working HOT 1
- Czech Republic has 'null' of active cases.
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 covid-19.