API icon indicating copy to clipboard operation
API copied to clipboard

countryInfo iso2 and iso3 'NO DATA' for some countries

Open sharmavipul92 opened this issue 6 years ago • 13 comments

some countries doesn't have the country ISO codes in the data.

sharmavipul92 avatar Mar 24 '20 14:03 sharmavipul92

they dont have data

diced avatar Mar 24 '20 14:03 diced

was resolve in #117, waiting for merge

buster95 avatar Mar 24 '20 14:03 buster95

This issue still exist and also lead to an unknown flag, like USA, returning "NO DATA" for iso2 and iso3

yduke avatar Mar 26 '20 01:03 yduke

#185 will be merged and fix this

ebwinters avatar Mar 26 '20 02:03 ebwinters

@ebwinters thank you

yduke avatar Mar 26 '20 03:03 yduke

@ebwinters

Channel Islands Saint Martin Curaçao St. Barth Sint Maarten British Virgin Islands

for countries above, iso2 and iso3 code returning "null" now, also flag is unknown along with the ios2

yduke avatar Mar 26 '20 03:03 yduke

lemme fix

ebwinters avatar Mar 26 '20 03:03 ebwinters

@buster95 you should make a PR to fix this, I don't understand your indexing system or where you get this data. You need to make entries in countryData for these countries:

Channel Islands
Saint Martin
Curaçao
St. Barth
Sint Maarten

and for Virgin Islands, British add British Virgin Islands as possibleName

ebwinters avatar Mar 26 '20 03:03 ebwinters

Hi

I have done a mapping and I have the country codes based on the name returned in your data. Let me know if you guys need my help. Would be happy to contribute.

On Thu, Mar 26, 2020, 11:51 AM Ethan Winters [email protected] wrote:

@buster95 https://github.com/buster95 you should make a PR to fix this, I don't understand your indexing system or where you get this data. You need to make entries in countryData for these countries:

Channel Islands

Saint Martin

Curaçao

St. Barth

Sint Maarten

and for Virgin Islands, British add British Virgin Islands as possibleName

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NovelCOVID/API/issues/150#issuecomment-604213460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUFPY75V2SBZSJMR3VUNZDRJLGMRANCNFSM4LSWG5AQ .

sharmavipul92 avatar Mar 26 '20 05:03 sharmavipul92

Hi I have done a mapping and I have the country codes based on the name returned in your data. Let me know if you guys need my help. Would be happy to contribute. … On Thu, Mar 26, 2020, 11:51 AM Ethan Winters @.***> wrote: @buster95 https://github.com/buster95 you should make a PR to fix this, I don't understand your indexing system or where you get this data. You need to make entries in countryData for these countries: Channel Islands Saint Martin Curaçao St. Barth Sint Maarten and for Virgin Islands, British add British Virgin Islands as possibleName — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#150 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUFPY75V2SBZSJMR3VUNZDRJLGMRANCNFSM4LSWG5AQ .

I feel lost with Channel Island, Do you have info about?

buster95 avatar Mar 26 '20 05:03 buster95

I have information, Channel Islands are two islands Jersey and Guernsey

buster95 avatar Mar 26 '20 05:03 buster95

but they don't have any ISO codes.

On Thu, Mar 26, 2020 at 1:39 PM Walter Corrales [email protected] wrote:

I have information, Channel Islands are two islands Jersey and Guernsey

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NovelCOVID/API/issues/150#issuecomment-604240304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUFPY7GU5RXJ52G2P2DNXTRJLTCBANCNFSM4LSWG5AQ .

sharmavipul92 avatar Mar 26 '20 09:03 sharmavipul92

Yes they have https://en.m.wikipedia.org/wiki/List_of_ISO_3166_country_codes Jersey and Guernsey, for Channel Islands I left Jersey data

buster95 avatar Mar 26 '20 12:03 buster95