gbif / portal-feedback

User feedback for the GBIF API, website and published data. You can ask questions here. 🗨❓
30 stars 16 forks source link

Country unknown #5577

Open gbif-portal opened 1 day ago

gbif-portal commented 1 day ago

Country unknown

How should I think about countryCode=ZZ (Unknown) vs countryCode=null https://api.gbif.org/v1/occurrence/2876033315 vs https://api.gbif.org/v1/occurrence/4975918307 I assume ZZ is assigned when we do not accept a provided code and as such there is a difference?

But I'm not sure it provides enough information to be more useful than it is confusing. Would it make sense to assign ZZ to any unknown? And then just flag invalid countries?


User: See in registry - Send email System: Chrome 130.0.0 / Mac OS X 10.15.7 Referer: https://www.gbif.org/occurrence/4975918307 Window size: width 1706 - height 1545 API log&_a=(columns:!(_source),filters:!(),index:'3390a910-fcda-11ea-a9ab-4375f2a9d11c',interval:auto,query:(language:kuery,query:''),sort:!())) Site log&_a=(columns:!(_source),filters:!(),index:'5c73f360-fce3-11ea-a9ab-4375f2a9d11c',interval:auto,query:(language:kuery,query:''),sort:!())) System health at time of feedback: OPERATIONAL datasetKey: 7547e2e7-e850-4d34-996f-62ef75dddb05 publishingOrgKey: 67b2263f-6990-4d9d-b32b-20aa72ef4fbc Network keys: 2b7c7b4f-4d4f-40d3-94de-c28b6fa054a6

tucotuco commented 1 day ago

Here are a couple of TDWG Biodiversity Data Quality Task Group issues that discuss the value 'ZZ'.

https://github.com/tdwg/bdq/issues/20 https://github.com/tdwg/bdq/issues/98