Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Extract non-data files in dvExtractFileIds #16

Closed
leeper opened this issue Nov 29, 2013 · 0 comments
Closed

Extract non-data files in dvExtractFileIds #16

leeper opened this issue Nov 29, 2013 · 0 comments

Comments

@leeper
Copy link
Collaborator

leeper commented Nov 29, 2013

Supplemental files (codebooks, etc.) are storedin otherMat attributes in the DDI. Here's an example:

<otherMat level="study" URI="http://thedata.harvard.edu/dvn/dv/leeper/FileDownload/Study+1+%28Lab%29+Key.docx?fileId=2228888">
<labl>Study 1 (Lab) Key.docx</labl>
<txt>Study 1 data key</txt>
<notes type="vdc:category">Codebook</notes>
</otherMat>

This will need to parse the URI in order to extract the fileId, since it is not listed as a separate attribute (as in fileDscr nodes).

@ghost ghost assigned leeper Nov 29, 2013
@leeper leeper closed this as completed in c1a08eb Nov 29, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant