Closed jhpoelen closed 1 year ago
see also https://github.com/zenodo/zenodo/issues/1985 .
in https://github.com/zenodo/zenodo/issues/1985#issuecomment-1517492170 , @slint mentioned
@cboettig, @jhpoelen is correct regarding the API only searching the latest version of records by default. To search throughout all versions of records, you have to include the all_versions=true querystring parameter like so:
The above returns the record containing the file with that hash.
After applying these suggestions, I was able to find the "older" README file with hash://md5/d11ddcecf3d5cbc627439260bdbfda72 referenced earlier in this issue:
preston cat --remote https://zenodo.org hash://md5/d11ddcecf3d5cbc627439260bdbfda72\
| head
produced the expected
Global Biotic Interactions: Interpreted Data Products
Global Biotic Interactions (GloBI, https://globalbioticinteractions.org, [1]) aims to facilitate access to existing species interaction records (e.g., predator-prey, plant-pollinator, virus-host). This data publication provides interpreted species interaction data products. These products are the result of a process in which versioned, existing species interaction datasets ([2]) are linked to the so-called GloBI Taxon Graph ([3]) and transformed into various aggregate formats (e.g., tsv, csv, neo4j, rdf/nquad, darwin core-ish archives). In addition, the applied name maps are included to make the applied taxonomic linking explicit.
Citation
GloBI is made possible by researchers, collections, projects and institutions openly sharing their datasets. When using this data, please make sure to attribute these original data contributors, including citing the specific datasets in derivative work. Each species interaction record indexed by GloBI contains a reference and dataset citation. Also, a full lists of all references can be found in citations.csv/citations.tsv files in this publication. If you have ideas on how to make it easier to cite original datasets, please open/join a discussion via https://globalbioticinteractions.org or related projects.
To credit GloBI for more easily finding interaction data, please use the following citation to reference GloBI:
Thank you @slint !
when attempting to reproduce #187 after resolving #207 , If found that
produces:
however, an md5 hash query for an older version README for the GloBI Community. (2022). Global Biotic Interactions: Interpreted Data Products (0.5) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.7348355 publication, does not return a result:
yields:
however, via https://zenodo.org/record/6604060 , I was able to see README with md5 hash (also see attached screenshot)
md5:d11ddcecf3d5cbc627439260bdbfda72
But, I was able to download the file directly via:
@fyi cboettig
@slint is it expected that Zenodo only index md5 content hashes for the most recent versions of their content?