Covid19india-react: Duplicate PATIENT NATIONALITY (India and indian)

Created on 10 Apr 2020  路  4Comments  路  Source: covid19india/covid19india-react

Describe the bug
In deepdive page Patients nationality section, Indian and India are tagged as a different nationality

To Reproduce
Merge Indian and India.

  1. Go to 'DeepDive'
  2. Click on 'PATIENT NATIONALITY'
  3. Check India and Indian are different nationalities

Expected behavior
Both should be merged.

All Devices

Most helpful comment

@piyush-repo Indeed we can do this but this is not the best practice approach. It is better we change the name in the excel sheet from where data is coming then it would be great.

All 4 comments

@iKshitiz issue is with API. Kindly report the issue https://github.com/covid19india/api.

We have an issue with https://api.covid19india.org/raw_data.json API.
"nationality": "Indian"
"nationality": "India"

Both can be found here.

I believe over here we can translate the Indian to India and then plot the chart

@piyush-repo Indeed we can do this but this is not the best practice approach. It is better we change the name in the excel sheet from where data is coming then it would be great.

Avoid client side changes for this. This issue is fixed on the sheet. Thank you!

Was this page helpful?
0 / 5 - 0 ratings