someshkar / covid19india-cluster

:microscope: Covid19 India Cluster Graph
https://cluster.covid19india.org
MIT License
989 stars 654 forks source link

Female placed as the default gender; Create a new gender representing missing info/third gender #203

Open loCoder opened 4 years ago

loCoder commented 4 years ago

Describe the bug In the raw database, genders of some patients is missing, and the same is reflected in the cluster by displaying it as female. Also, it may not be possible for the crowd-sourced data to get gender of all the patients. Also, it gives wrong visualization inference, that more females are infected by the virus.

To Reproduce Steps to reproduce the behavior:

  1. Go to COVID-19 crowd-sourced database.
  2. Note down the patient number(s) with missing gender.
  3. Go to COVID-19 cluster.
  4. Search for the noted patient number(s).
  5. See error.(Gender misrepresentation)

Expected behavior It's expected that if the gender is unknown, a grey ? clip-art maybe shown with 'N/A' in the gender field to compensate for the missing information.

Screenshots graphGndr rawDatGndr

Desktop (please complete the following information):

Additional context Also a third gender can be added as "others", beside "N/A".

sanilborkar commented 4 years ago

The data coming in seems to have the gender set as "female". Reference: https://api.rootnet.in/covid19-in/unofficial/covid19india.org

Ideally, shouldn't we be correcting the API data?

someshkar commented 4 years ago

Yeah, this looks like an API issue.

someshkar commented 4 years ago

Can this be closed now?

loCoder commented 4 years ago

Can this be closed now?

The API issue has been resolved.

However the cluster is visually the same, where 'unknown' genders are represented with the female graphic. Need graphics to be created and replaced for the "unknown" gender, similar to the existing male and female graphics. (An image with ? on a gray-colored face would be good, else only a question mark would do well.)