Git Product home page Git Product logo

dsfsi / covid19za Goto Github PK

View Code? Open in Web Editor NEW
255.0 32.0 200.0 89.52 MB

Coronavirus COVID-19 (2019-nCoV) Data Repository and Dashboard for South Africa

Home Page: https://dsfsi.github.io/covid19za-dash/

License: MIT License

Jupyter Notebook 99.70% Go 0.06% Python 0.12% Dockerfile 0.01% VCL 0.01% Shell 0.01% R 0.11%
south-africa covid-19 coronavirus dataset data-science nicd dashboard covid19 covid19-data covid-data

covid19za's Introduction

Coronavirus COVID-19 (2019-nCoV) Data Repository for South Africa

DOI dsJournal

Give Feedback 📑: DSFSI Resource Feedback Form{:target="_blank"}

Coronavirus COVID-19 (2019-nCoV) Data Repository for South Africa created, maintained and hosted by Data Science for Social Impact research group, led by Dr. Vukosi Marivate, at the University of Pretoria.

Disclaimer: We have worked to keep the data as accurate as possible. We collate the COVID 19 reporting data from NICD and DoH. We only update that data once there is an official report or statement. For the other data, we work to keep the data as accurate as possible. If you find errors. Make a pull request.

If you use this repo for any research/development/innovation, please contact us (see contacts below)

See our blog posts:

If you are interested in the Africa-wide effort: Go to https://github.com/dsfsi/covid19africa

For information on daily updates on the repo, go to https://twitter.com/vukosi/status/1239184086633242630?s=20

Licenses

Code License: MIT | Data License: CC BY-SA 4.0

Data Available [/data]

Please note that these reports are the daily reports as released by the National Department of Health or the NICD. The new cases reported are based on new positive test reports released. However, there may be significant lag from when the patient was tested. As an example in epidemiological Week 1 of 2021 (3-9 Jan) approximately 33k new cases were reported on the daily announcement. However, the NICD Testing Summary Report for Week 3 of 2021 (which also reports the two previous weeks) shows that the number of positive tests was 43635 for Week 1 of 2021. The difference is due to the lag in testing being done -- some of the 33k cases reported on the daily announcments were actually from prior weeks while a large number of people were tested between 3-9 January, but the cases were only reported from the 10th onwards. Care needs to be taken in doing some analyses to take this into account.

Active

dataset url raw_url[file]
provincial_cumulative_timeline_confirmed provincial_cumulative_timeline_confirmed provincial_cumulative_timeline_confirmed.csv
provincial_cumulative_timeline_recoveries provincial_cumulative_timeline_recoveries provincial_cumulative_timeline_recoveries.csv
provincial_cumulative_timeline_testing provincial_cumulative_timeline_testing provincial_cumulative_timeline_testing.csv
provincial_cumulative_timeline_deaths provincial_cumulative_timeline_deaths provincial_cumulative_timeline_deaths.csv
vaccination covid19za_timeline_vaccination covid19za_timeline_vaccination.csv
death_statistics covid19za_timeline_death_statistics covid19za_timeline_death_statistics.csv
transmission_type covid19za_timeline_transmission_type covid19za_timeline_transmission_type.csv
testing covid19za_timeline_testing covid19za_timeline_testing.csv
district_data district_data
DoH PDFs and Extracted CSVs doh_pdf
DoH Whatsapp case update archive doh_whatsapp
health facility data [public and private] health_system_za_hospitals_v1 health_system_za_hospitals_v1.csv
nicd_daily_national_report nicd_daily_national_report nicd_daily_national_report.csv
nicd_hospital_surveillance_data nicd_hospital_surveillance_data nicd_hospital_surveillance_data.csv
samrc_excess_deaths_province samrc_excess_deaths_province samrc_excess_deaths_province.csv
Apple, Google, Facebook Mobility Data mobility

Deprecated

NOTE: Since around 24 March 2020, we have not gotten individual case data from DoH or NICD. For now if you need provincial counts use the provincial_cumulative_timeline. For individual cases up to 25 March 2020, use the confirmed_cases.

dataset url raw_url[file]
confirmed_cases* [updated to 25 March 2020] covid19za_timeline_confirmed covid19za_timeline_confirmed.csv
deaths covid19za_timeline_deaths covid19za_timeline_deaths.csv

* NICD no longer gives individual case data. Please use provincial_cumulative_timeline from 26 March 2020 onwards.

Dashboard

Data Sources:

  • NICD - South Africa URL
  • Department of Health - South Africa Main Site, Twitter
  • South African Government Media Statements URL
  • National Department of Health Data Dictionary URL
  • MedPages URL
  • Statistics South Africa URL

Contributing

Options

  • I want to help, but don't have an idea: You can take a look at the issues to see which one you might be interested in tackling.
  • I have an idea or new feature: Create a new issue first, assign it to yourself and then fork the repo.

Adopting a file

Once you have chosen how you are going to contribute, you must list which files you will be working on by adding your name to the adopt-a-file csv file. Edit covid19za_volunteer_adopted_file.

Submitting Changes [Pull Request]

Resources [Get some ideas]

Contributors

Contributors Made with contributors-img.

Contact

Citing the dataset

On a visualisation/notebook/webapp:

Data Science for Social Impact Research Group @ University of Pretoria, Coronavirus COVID-19 (2019-nCoV) Data Repository for South Africa. Available on: https://github.com/dsfsi/covid19za.

In a publication

Data Science Journal

@article{marivate2020use, Author = {Vukosi Marivate and Herkulaas MvE Combrink}, Journal = {Data Science Journal}, Number = {1}, Pages = {1-7}, Title = {Use of Available Data To Inform The COVID-19 Outbreak in South Africa: A Case Study.}, Volume = {19}, Year = {2020}, url = {https://doi.org/10.5334/dsj-2020-019} }

and Dataset

@dataset{marivate_vukosi_2020_3819126, author = {Marivate, Vukosi and Arbi, Riaz and Combrink, Herkulaas and de Waal, Alta and Dryza, Henkho and Egersdorfer, Derrick and Garnett, Shaun and Gordon, Brent and Greyling, Lizel and Lebogo, Ofentswe and Mackie, Dave and Merry, Bruce and Mkhondwane, S'busiso and Mokoatle, Mpho and Moodley, Shivan and Mtsweni, Jabu and Mtsweni, Nompumelelo and Myburgh, Paul and Richter, Jannik and Rikhotso, Vuthlari and Rosen, Simon and Sefara, Joseph and van der Walt, Anelda and van Heerden, Schalk and Welsh, Jay and Hazelhurst, Scott and Petersen, Chad and Mbuvha, Rendani and Dhlamini, Nelisiwe and James, Vaibhavi}, title = {{Coronavirus disease (COVID-19) case data - South Africa}}, month = mar, year = 2020, publisher = {Zenodo}, doi = {10.5281/zenodo.3819126}, url = {https://doi.org/10.5281/zenodo.3819126} }

Showcase

Web Projects

Some of COVID-19 Data for South Africa (data in this repo) is currently being used by other independent projects shown in the table below :

Project Name Project Description Project Demo Project owner Country
1. Covid-19 SA Data Data visualizations corresponding to the current Covid-19 outbreak in South Africa [Website],[GitHub Repo] Simon Rosen South Africa
2. Covid-19 testing areas A Covid-19 Testing Facilities Map [Website],[GitHub Repo] Yannick Zehnder Switzerland
3. Covid-19 Map A Coronavirus Map [Website] [GitHub Repo] Jay Welsh South Africa
4. Covid-19 Telegram Bot Corona virus statistics via Telegram Link CodeChap South Africa
5. Covid-19 Xitsonga Dashboard Xitsonga Dashboard Link xitsonga.org South Africa
6. Hospitals' capacity to respond to Covid-19 Data visualization mapping local hospitals (private ad public) in South Africa [Map Viz] ,[Repo] Nompumelelo South Africa
7. Covid-19 Trends Covid-19 analytics dashboard for South Africa [Website] [Repo] Schalk van Heerden South Africa
8. Covid-19 Tshivenda Dashboard Tshivenda Dashboard Link luvenda.com South Africa
9. Map of Health facilites around me Map showing comparable details of hospitals around my location in response to Covid-19 [Webpage] , [GitHub Repo] These authors South Africa
10. R-based Interactive health facilties Map Afrimapr, mapping health facilities using R-building blocks [Webpage] [Repo] Dr Andy South United Kingdom
11. Estimating the Reproductive Number of COVID-19 Estimating effective reproductive number for SA, it's provinces and other countries. [Website] Louis Rossouw South Africa
12. Modelling COVID-19 in South Africa at a Provincial Level Modelling COVID-19 in South Africa at a Provincial Level using reported and excess deaths. [Website] Louis Rossouw South Africa
13. South African Provincial COVID-19 Visualization Visualize deaths, cases and recoveries alongside mobility data on a provincial level. Additionally, visualize cahnge of cases over a weekly basis. [Website] Christopher Marais South Africa
14. Differential Evolution to Optimize A Long-term Multi-strain Model of COVID-19 in South Africa Uses Differential Evolution (an Evolutionary Optimization Algorithm) for data fitting and parameter estimation. [Website] CJ Pretorius and MC du Plessis South Africa

Scholarly Work

See Google Scholar

Support

We want to acknowledge support from these organisations

covid19za's People

Contributors

actions-user avatar aidanhorn avatar bmerry avatar cishiv avatar codechap avatar dennisvnel avatar dmackie avatar elolelo avatar heerden avatar herkulaascombrink avatar jaywelsh avatar josephsefara avatar karthik111 avatar krokkie avatar lizelgreyling avatar lostpebble avatar lrossouw avatar naturofix avatar nellyd7 avatar nikrich avatar ofentswe1 avatar richardyoung00 avatar shaungarnett avatar shaze avatar sibusiso16 avatar simonrosen173 avatar spinza avatar vaibhavijames avatar vukosim avatar vutlhari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

covid19za's Issues

Need volunteers to create line list for COVID19 cases in Africa

We want to build what is called a line list – a table summarizing information about people who are infected, dead, recovered etc. The table would include demographic and location information. Such a dataset would help us understand how COVID19 transmission in Africa is similar or different to what’s being observed in other regions of the world.

This would be part of a broader effort focused on collating COVID19 data globally. We need volunteers ASAP to help in this effort. The data will be made publicly available and volunteers will be acknowledged.

[email protected]

[IDEA] Split the transmission type By Gender and Age

Is your feature request related to a problem? Please describe.
This is just an idea.

Describe the solution you'd like
Would be insteresting to see the transmission type by gender and age

Describe alternatives you've considered

Additional context

Correctly citing the dataset

Hi,

I saw that a citation for correctly citing the dataset has been added to the repos readme file.

I'm building a dashboard with the data and would like to check if I'm correctly citing the dataset on my Data Sources page?

[Feature] Automated scrapping of ministry releases

Is your feature request related to a problem? Please describe.
Not a problem but an enhancement.

Describe the solution you'd like
Use the ministry releases as an automated way to suggest new additions to the data.

Describe alternatives you've considered
Currently manually populated.

Add column for Imported / Local transmission

At least at this stage, one interesting thing about the SA data is how much local transmission there has been, compared to people arriving from abroad, already infected. I could try to parse the "transmission type" column.

Could you split the "transmission type" column in data/covid19za_timeline_confirmed.csv to be
a) imported/local/unknown
b) countries visited if imported

I'm happy to do the split and PR if this makes sense

For example,

case_id,date,YYYYMMDD,country,province,geo_subdivision,age,gender,transmission_type
1,05-03-2020,20200305,South Africa,KZN,ZA-KZN,38,male,imported,Italy
2,07-03-2020,20200307,South Africa,GP,ZA-GP,39,female,imported,Italy
13,11-03-2020,20200311,South Africa,WC,ZA-WC,36,male,imported, Germany; Austria; Switzerland 
168,20-03-2020,20200320,South Africa,GP,ZA-GP,47,female,imported,pending travel history
169,20-03-2020,20200320,South Africa,GP,ZA-GP,23,male,local,

[Feature] Add daily # of tests performed on daily number of positives confirmed

Hi Vukosi,

I'm thinking it may be useful to display the number of tests done against the number of cases confirmed on the barchart on page 2 of the dashboard. Or showing positives vs negatives. It will give us an idea of how many tests are essentially wasted because we're testing unnecessary due to not being able to prioritize patients and highlighting the symptoms that are required for testing? But at the same time realising that people will be tested if they've been in touch with positives even if they aren't displaying symptoms.

Not wasting tests on the wrong patients seems like an important aspect of successful response?

Thanks,
Anelda

[Feature] Check for differences better NICD, DoH and SACoronavirus Statements

Statements are supposed to be the same but it seems NICD sometimes changes their statement when case data becomes available. See these two statements

http://www.nicd.ac.za/covid-19-update-21/

and

https://sacoronavirus.co.za/2020/03/19/latest-confirmed-cases-of-covid-19-19th-march-2020/

In the first 1 it says the first 2 patients when to the DRC, the second statement is different.

Also,

See that the last cases in Gauteng are different. 1 is pending and the other has " no contact details on lab form, information being obtained from the private doctor"

New cases per day

Add graph showing how many new cases there are each day. The actual value instead of me subtracting the values of the main graph.

[DATA] FS last entry is a FEMALE not a MALE

Which Dataset

covid19za_timeline_confirmed.csv

Error Description

The 32 year old FEMALE was incorrectly made a MALE in the PDF. In the raw data she is a FEMALE. Blame the GOV.

Suggested fixes

  1. Change the last Free State Entry for 20032020 to a FEMALE

Local Transmission

Last night, the President announced that there has been local transmission. It would be good to track these cases separately.

[Feature]Hopitalization vs Self-isolation

Confirmed Cases that requires hospitalization or NOT.
Is it possible to have another column/measurement that would list if the patient required hospitalization or not?

Hospitalized or Self-Isolated feature
A column that would indicate if the patient was hospitalized that could (and i could be very wrong) serve as proxy to the serious of the infection

[Feature] Process Whatsapp Messages, compare to previous day and create CSV output

Is your feature request related to a problem? Please describe.
Currently, we are only getting numbers from the NICD/DoH in terms of final numbers. One place we can get this data is their Whatsapp information service that then gives daily numbers after the update.

We need a solution to check 2 Whatsapp updates, calculate the difference and create the CSV.

The Whatsapp messages are now stored in data/doh_whatsapp/ as .txt files

Describe the solution you'd like
Process 2 consecutive Whatsapp .txt files and then output the CSV that has the

confirmed.csv template. Similar to the scraper.

Example from the Whatsapp line

image

extracted into .txt file example below

Current Status of Cases of COVID-19 in South Africa
24 MARCH 2020 - 11:28am

Total cases: 554
153 New cases
2 Full recovery (Confirmed Negative and cleared for returning home)
0 Deaths

The breakdown per province of total infections is as follows:
302 Gauteng
130 Western Cape
80 KwaZulu Natal
18 Free State
5 North West
9 Mpumalnaga
4 Limpopo
2 Northern Cape
2 Eastern Cape

Current projections estimate that the virus could effect 60% of South Africa's citizens at some point, but not at the same time.
Most South Africans will only experience mild symptoms and humans are capable of developing immunity to the virus.

The National Department of Health will now be releasing results as they are submitted by both private and public laboratories. In instances where NDOH confirmatory tests yield different results, the public will be duly informed.

TEST RESULTS OF CITIZENS REPATRIATED FROM WUHAN:
All the citizens from Wuhan were tested and their results came back negative for COVID-19.
They will continue to be kept in quarantine for the prescribed period and will thereafter be reunified with the community.

Different Dates format

Hi @vukosim, can you make all the date format to be the same, you are using two different format, you are using YYYY-MM-DD and YYYY-DD-MM on the same column, I have explored the data and I have spotted that.

patient-level comorbidity data please!!

Hi,

I'm a paediatrician working in the UK. We need data on the pre-existing medical conditions of children who catch COVID, so that we can start looking for patterns.

When you're collecting your data, please please include individual patient data on people with co-morbidities, especially children but I figure it would be useful for adults too! We'd need their ages as well ;)

I'm happy to be contacted on the email in my profile, and then we can move over to my official NHS account if needs be.

All the best

Dr Jonathan Fisher
NIHR Clinical Lecturer in Paediatrics
UCL-GOS Institute of Child Health

[Feature] Add municipality to confirmed, deaths and tests datasets

Is your feature request related to a problem? Please describe.
We would like to monitor occurrences on a municipality level

Describe the solution you'd like
A new column in the confirmed dataset (at a minimum) stating municipality

Describe alternatives you've considered
Contacting the NICD directly. We'll still pursue this, but they are probably swamped.

[Feature] From Day 0 Analysis

Describe the solution you'd like
Notebooks and scripts to recreate the analysis from Day 0 across Africa and the rest of the world vs SA.

[Feature] Show change in numbers in boxes at top

Is your feature request related to a problem? Please describe.
The dashboard may be more informative if one can quickly see the daily change in numbers of infected, recovered, tests, etc with one glance without having to look at the plots.

Describe the solution you'd like
Show the change since the previous day in the blocks at the top of the dashboard

Describe alternatives you've considered
The graphs on https://coronamap.co.za/ show the change indicated with a + or - at the top of each plot.
The info blocks on the Hong Kong dashboard shows it with little triangles pointing up or down - https://chp-dashboard.geodata.gov.hk/covid-19/en.html

Additional context
Add any other context or screenshots about the feature request here.

Open Source Helps!

Thanks for your work to help the people in need! Your site has been added! I currently maintain the Open-Source-COVID-19 page, which collects all open source projects related to COVID-19, including maps, data, news, api, analysis, medical and supply information, etc. Please share to anyone who might need the information in the list, or will possibly contribute to some of those projects. You are also welcome to recommend more projects.

https://weileizeng.github.io/Open-Source-COVID-19/

Cheers!

[Feature] No of recoveries on Dashboard

Is your feature request related to a problem? Please describe.
Not relating to an issue, just an idea.

Describe the solution you'd like
Overlay the number of infections with the number of recoveries.

Describe alternatives you've considered

Additional context
Currently the DB indicates that the mortality rate in SA is 0. I am concerned that people will read it in context of the number of infections (not the number of closed cases). Providing the number of recoveries will provide more context and give viewers an idea of the reliability of the proposed mortality rate.

[Feature] Issues by region in a district

Is your feature request related to a problem? Please describe.
Currently the dashboard does not allow the user to drill down and explore the cased within their immediate locality (region/district)

Describe the solution you'd like
There could be an additional field in the confirmed_cases model to represent the region in which the case was detected.

Describe alternatives you've considered
None

Additional context
I've noted that the City of Joburg is now publishing this data.

NEW INFECTIONS

Which Dataset

Error Description

Two-year-old case here states that it is from travelling from New Zealand yet the government and NICD statements state 2-year-old male with no international travel history.

Suggested fixes

[BUG] `Cases` Mispelling

Describe the bug
The word cases is misspelled as casis on page 2 of the dashboard

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'page #2' on the Daily Positive Casis graph

Expected behavior
Casis should be spelled as Cases

Screenshots
Screenshot 2020-03-23 at 08 15 22

Desktop (please complete the following information):

  • OS: [e.g. iOS]: MacOS
  • Browser [e.g. chrome, safari] : Firefox
  • Version [e.g. 22]: 74

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[Feature] Use dashboard to curb anxiety as case and casualty # grow

Is your feature request related to a problem? Please describe.
The dashboard is doing a really good job of providing a visual overview of the underlying data, but I am concerned that there is a lot of emphasis on how things are escalating (which is the honest truth and important to see).

I think people might increasingly be looking at the data for signs that lockdown and other measures are working and slowing spread down, but we know that this dashboard will debunk that idea over the next few weeks as more cases are detected due to spread (delayed because of incubation period) and increased testing capabilities, and as tally of casualties grow.

The dashboard may play a role in due time to help people comply with implemented measures to curb the spread of COVID or it may play a role in causing people to lose faith (based on data) in the implemented measures.

Describe the solution you'd like
Can we organise the dashboard to emphasise the positives a bit more? Recoveries, active cases vs closed cases, severe vs mild cases. (We mustn't let people lose hope as the pandemic numbers get worse).

Is it possible to add annotations such as when the state of disaster was implemented, lockdown started, other measures put in place (e.g. when the high-throughput testing equipment goes online) to explain some of the data we're seeing. Also to help people who may not be that familiar with this dataset and data in general to get context and adjust expectations?

Maybe show a shaded graph where we can show that we expect cases to grow drastically for the next few weeks at least before there could be a bit of a plateau.

Visualisations can drive anxiety (and the situation and data will cause anxiety regardless of how we visualise it), but I wonder if people have ideas to present the data as non-sensational but honestly as possible.

Additional context
The broader public may look at the data with different contexts than someone who knows the data. I've heard from a number of people that the red map from Harvard and seeing the numbers ticking over is creating massive anxiety for them.

[DATA] Recovered cases CSV data

Is your feature request related to a problem? Please describe.
First off thank you for all the great work you guys have been doing. Currently recovered cases are not represent in the csv files. Do you plan to record this information? Assuming you do do you think it will be possible to map the recovered case to the covid19za_timeline_confirmed.csv case_id? In other words will we be able to determine which case_id from timeline_confirmed has recovered?

Out of scope of this issue but worth noting is that I am curious whether it is going to be possible to do the same with case fatalities?

There seems to be data access issue with the nicd and doh. Have they been contacted to request csv dumps or some alternative to scraping their reports?

Describe the solution you'd like
I would like for a file identical in structure to covid19za_timeline_deaths.csv to be populated for recovered case data.

[DATA] Explain discrepancy between repo data and dashboard data

Which Dataset

Confirmed cases timeline; provincial cumulative timeline

Error Description

I would expect the latest number of confirmed cases on the dashboard to be the same as the latest number in provincial cases or timeline confirmed

But right now the repo cumulative cases is 554, and the dashboard says 709. Which suggests the dashboard does not pull from the repo

Suggested fixes

Either
a. make the dashboard feed from the repo for common data source,
b. Feed the repo from the data source behind the dashboard
c. Document that they have different data sources in the README

At any rate I'd like come commentary on this discrepancy as it is tripping us up when ingesting the repo data.

[Feature] Hospital and district data for visualisation

Currently, there are fragmented and limited consolidated public data regarding the healthcare systems in South Africa. This extends beyond just knowing about a particular hospital but also relates to functions of the hospital such as specialised care, location, the estimated population in the district, and which hospitals can potentially assist in the COVID-19 pandemic.

To combat this, hospitals with specialised staff/units are available in South Africa, but this knowledge is not always accessible to the general public. Furthermore, this data seems to be in different formats, depending on the province/district and is not consolidated on one platform which makes data analysis challenging related to resource management.

I propose that we collate all the hospital data within South Africa so that we can have a clear visualisation of maximum capacity, and have data available so that other data scientists can perform assessments related to resource management, projections per district and identify what COVID-19 hotspots mean in terms of hospital capacity.

To do this, we need to start by collating data per province, related to the location of the hospital, and capability of the hospital.

  1. Location of hospital
    a. Name of hospital
    b. GPS coordinates
    c. Province
    d. District
    e. Subdistrict
    f. Estimated population within the district
  2. Capacity and capability
    a. Description of the hospital (each type of hospital has its own detail)
    b. Size (differs per hospital type for example small district is 50 – 150 beds, small tertiary is 400)
    c. Operational functions (services which must be included within the type of hospital)
    d. Type of hospital (district, regional, tertiary, central or specialized)
    e. Maximum capacity
    f. Speciality services (what specialised services are at the hospital, for example, internal medicine and infectious disease units etc.)
    g. Can the hospital currently respond to COVID-19?
    h. Source confirming the hospital can currently respond to COVID-19
    i. CEO of hospital
    j. Postal address of hospital
    k. The physical address of the hospital
    l. Contact number
    m. Email

The last question “Can the hospital currently respond to COVID-19?” is challenging to answer unless public statements have been made. We know that the following hospitals are/were highlighted as quarantine hospitals.

Province HosptName GPSCoordinant TotalHospitalBeds
Limpopo Polokwane Hospital 23.8968° S, 29.4574° E 450
Mpumalanga Rob Ferreira Hospital 25.4769° S, 30.9709° E 461
Gauteng Charlotte Maxeke Hospital 26.1760° S, 28.0439° E 1088
Gauteng Steve Biko Academic Hospital 25.7303° S, 28.2044° E 832
Gauteng Tembisa Hospital 25.9830° S, 28.2382° E 840
KwaZulu Natal Grey's Hospital 29.5795° S, 30.3643° E 530
North West Klerksdorp Hospital 26.8789° S, 26.6633° E 890
Northern Cape Kimberely Hospital 28.7462° S, 24.7730° E 287
Free State Pelonomi Hospital 29.1396° S, 26.2447° E 469
Eastern Cape Livingstone Hospital 33.9254° S, 25.5697° E 541
Western Cape Tygerberg Hospital 33.9106° S, 18.6123° E 1384

We also know, based on articles written about each one of these hospitals, that they experience a heavy load of patients throughout the year – irrespective of COVID-19.

The data that is consolidated can be used as a dashboard for the general public to see where they can go in terms of public healthcare, and additionally, other scientists can use this data to make contextually relevant inferences if they have this data and add it to their analysis.

[Data] Unknown Province

Which Dataset

covid19za_provincial_cumulative_timeline_confirmed

Error Description

In the latest release of cases data, DIRCO eleased all the province data with the addition of an unknown field since the province isn't verified. See below:

Untitled

Suggested fixes

  1. Add unknown field and add relevant data

[Feature] Mapping Hospitals

Describe the solution you'd like
We now have hospital data available, it will be updated in the next few days. We need to map all of the hospitals. On hover, there must be some information on the district size, bed capacity etc.

[BUG] Enable CORS on API

Describe the bug
Retrieving data from the API programmatically from localhost throws CORS exceptions.

Access to XMLHttpRequest at 'https://covid-za-api.herokuapp.com/cases/confirmed' from origin 'http://localhost:8100' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to retrieve data programmatically
  2. Data retrieval from API fails because of CORS

Expected behavior
Expect to be able to retrieve data from the API.

Screenshots
Screen Shot 2020-03-21 at 7 33 51 PM

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.