GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
661 stars 103 forks source link

Irrelevant Geoplatform Metadata link #4879

Open FuhuXia opened 2 months ago

FuhuXia commented 2 months ago

For dataset https://catalog.data.gov/dataset/test, geoplatform provide a metadata link to https://www.geoplatform.gov/metadata/6e23ae6d-314a-4fae-bdf4-f7b881c31b69, irrelevant to the dataset on the catalog.

This is more a bug on the geoplatform rather than on the catalog. geoplatform should not provide a link if the source is not from our catalog. So the geoplatform should improve their API endpoint and allow an additional parameter for dataset source, something like this:

https://api.geoplatform.gov/v3/public/lookups/data-gov/dataset?name=test&source=catalog.data.gov

with &source=catalog.data.govat the end, we ensure we got result only relevant to catalog.

How to reproduce

image

Expected behavior

No Geoplatform Metadata link found.

Actual behavior

Wrong Geoplatform Metadata link.

Sketch

[Notes or a checklist reflecting our understanding of the selected approach]

jbrown-xentity commented 2 months ago

Good find @FuhuXia ! @chris-macdermaid and the geoplatform team have been made aware and are looking into this; they've created a bug ticket on their end.

Bagesary commented 2 months ago

Team decided to icebox this bug until we hear from geoplatform team.

btylerburton commented 2 months ago

The API returns the same URL for these two different queries: