Please note all the latest data comes from the official South African Coronavirus website which get their data from the NICD(National Institute for Communicatable Diseases), They are responsible for monitoring and tracking of all covid-19 cases in South Africa. Past data was taken from wikipedia and checked thoroughly with diffrent sources to see if it was correct(before i started capturing it on a daily basis).
- Chart.js
- MapboxGL.js
- Puppeteer
- Cheerio
- Axios
This is run twice a day at 19:00 and 21:30 UTC and if changes are found it updates the data in our database.(heroku scheduler)
The script uses puppeteer and cheerio to scrape the latest data from https://sacoronavirus.co.za/.
To make it update in intervals locallay you can use the 'setInterval method' and run the automate.js script.
- NodeJS
- Express
- MongoDB
- React
- Bootstrap
Data | URL |
---|---|
Total Tests Conducted, Cases, Recoveries and Deaths | http://rsa-covid19.herokuapp.com/api/all-stats |
Cases by province | http://rsa-covid19.herokuapp.com/api/province-stats |
Cases by province(GeoJSON Data) | http://rsa-covid19.herokuapp.com/api/geojson |
Latest/Average increase in cases | http://rsa-covid19.herokuapp.com/api/extra-stats |
- South African Coronavirus News and Information
- Data Science for Social Impact Research Group @ University of Pretoria
- Covid-19 South Africa Wikipedia
This project is licensed under the ISC License - see the ISC-LICENSE.md file for details "license": "ISC"