plazi / BLR-website

1 stars 0 forks source link

BLR website testing: taxon treatments not included #24

Closed myrmoteras closed 4 years ago

myrmoteras commented 4 years ago

when testing for taxon treatments, the results are publications NOT treatments. http://blr.uplaysandbox.website/

image

the link should either include the TB PID: http://treatment.plazi.org/id/0386879B-0844-B565-85EC-199A1D99FD7A or if possible the DOI from BLR.

teodorgeorgiev commented 4 years ago

@myrmoteras We can add a separate button in the BLR interface, which will link to the TB if you want that. However, for this resource the API return: "zenodoDep": "242682", so we link to https://zenodo.org/record/242682 It would be nice to have also the Zenodo deposition id of the treatment itself.

gsautter commented 4 years ago

The Zenodo deposition number should be available from the stats the very at least ... what is the exact query you are sending to TB?

teodorgeorgiev commented 4 years ago

we make a call to Zenodeo: https://zenodeo.punkish.org/v2/treatments?facets=true&stats=true&q=Natrix

punkish commented 4 years ago

The API returns all the columns in the table, and the table has all the fields defined in the data dictionary. Multiple eyes have looked at the data dictionary multiple times. If there is a field that is missing, then it has to be specified in the data dictionary, then I have to add it to the extraction program and rerun it on the entire corpus. Please let me know how to proceed.

tcatapano commented 4 years ago

Ive created an issue for this #28 to be managed there.