Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stanford digital repository #16

Open
yarikoptic opened this issue Jan 25, 2018 · 0 comments
Open

stanford digital repository #16

yarikoptic opened this issue Jan 25, 2018 · 0 comments

Comments

@yarikoptic
Copy link
Member

yarikoptic commented Jan 25, 2018

which has valuable fMRI datasets, e.g. https://purl.stanford.edu/vq183gc7199
I thought I have mentioned that repo somewhere but could not find any link, so may be I remembered wrong
I haven't looked yet into what is the actual backend for it, might be an independent platform.
Through brief correspondence with nice Stanford librarians (thanks Hannah Frost):

for a given purl with DOCID (like above), possible to request .xml version of it which would provide metadata fields and record for files:

$> wget -q -O- 'https://purl.stanford.edu/vq183gc7199.xml' | grep -3 'file id'
  <contentMetadata objectId="vq183gc7199" type="file">
    <resource id="vq183gc7199_1" sequence="1" type="file">
      <label>Data archive</label>
      <file id="waskom_pnas_2017.tar.gz" mimetype="application/x-gzip" size="1741866237">
      
      
    </file>

so then URLs to actual file could be composed from DOCID and FILEID, to https://stacks.stanford.edu/file/druid:DOCUMENTID/FILEID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant