Time |
S |
Nick |
Message |
00:37 |
|
|
garnett joined #dvn |
04:58 |
|
|
axfelix joined #dvn |
05:52 |
|
|
axfelix joined #dvn |
09:39 |
|
|
ruebot joined #dvn |
09:39 |
|
|
ruebot joined #dvn |
09:40 |
|
|
JonathanNeal joined #dvn |
09:42 |
|
|
JonathanNeal joined #dvn |
09:42 |
|
|
realzies joined #dvn |
09:42 |
|
|
realzies joined #dvn |
09:44 |
|
|
ruebot joined #dvn |
09:44 |
|
|
ruebot joined #dvn |
09:48 |
|
|
balo joined #dvn |
09:51 |
|
|
sivoais joined #dvn |
09:57 |
|
|
JonathanNeal joined #dvn |
10:03 |
|
|
skay joined #dvn |
10:04 |
|
|
JonathanNeal joined #dvn |
10:13 |
|
|
JonathanNeal joined #dvn |
10:27 |
|
|
skay joined #dvn |
10:27 |
|
|
realzies joined #dvn |
10:27 |
|
|
realzies joined #dvn |
10:41 |
|
|
balo joined #dvn |
11:59 |
|
|
realzies joined #dvn |
12:48 |
|
|
ruebot joined #dvn |
14:37 |
|
|
rliebz joined #dvn |
14:39 |
|
|
garnett joined #dvn |
15:34 |
|
pdurbin |
rliebz: I got your email and made it into a support ticket: https://help.hmdc.harvard.edu/Ticket/Display.html?id=177139 |
15:36 |
|
pdurbin |
if you (or anyone) ever wants to make a support ticket, you can email supportthedata.org |
15:46 |
|
pdurbin |
rliebz: with the Data Deposit API, you're always operating on the latest version of a study (as you've noticed) |
15:46 |
|
pdurbin |
so if a released study goes into draft, you can only see the draft version |
15:46 |
|
pdurbin |
of course, you could delete the draft |
15:47 |
|
pdurbin |
and then you'd see the released version again |
15:49 |
|
pdurbin |
rliebz: this makes sense so far, right? |
15:53 |
|
|
jwhitney joined #dvn |
16:06 |
|
rliebz |
pdurbin: Yeah so far |
16:07 |
|
rliebz |
pdurbin: But does that mean that while someone is working on a draft version, other users can't see the released version? |
16:07 |
|
pdurbin |
well, let's back up a minute |
16:08 |
|
pdurbin |
the primary use case for the Data Deposit API is for authors to deposit data |
16:08 |
|
pdurbin |
these folks have write access |
16:08 |
|
pdurbin |
they are "admin" on the dataverse in question |
16:09 |
|
pdurbin |
rliebz: I understand that you are re-using that admin access for the public to view things... or at least get a list of things they may have permission to view... file IDs, for example |
16:09 |
|
pdurbin |
is that right? |
16:09 |
|
rliebz |
pdurbin: Yes |
16:12 |
|
pdurbin |
rliebz: I feel like... fundamentally... you need some functionality that might be (hopefully) available in the Data Sharing API... rather than the Data Deposit API... |
16:12 |
|
* pdurbin |
looks at http://thedata.harvard.edu/guides/dataverse-api-main.html#data-sharing-api |
16:14 |
|
pdurbin |
rliebz: what you need is a list of file IDs for a particular version of a study (the released version) to build a list of URLs to download from, right? |
16:14 |
|
pdurbin |
(the URLs have the file IDs in them) |
16:15 |
|
pdurbin |
(or will have them in them, that is) |
16:17 |
|
rliebz |
That, and the file names |
16:18 |
|
rliebz |
But yeah that's the idea. A response of the same format as the response for the data deposit API would make things simple, I think |
16:19 |
|
pdurbin |
right, the file names too |
16:21 |
|
pdurbin |
and right now you get the IDs and file names from the Data Deposit API |
16:22 |
|
rliebz |
Right |
16:27 |
|
pdurbin |
but things get weird when you go from released to a new draft |
16:32 |
|
pdurbin |
because the list of file IDs change |
16:33 |
|
pdurbin |
jwhitney: do you do much with these file IDs? from a SWORD call? or do you keep track of file names and etc. on the OJS side? |
16:36 |
|
pdurbin |
rliebz: have you poked around the Data *Sharing* API to see if file IDs are exposed? |
16:37 |
|
rliebz |
I haven't yet. I'll take a look |
16:37 |
|
pdurbin |
rliebz: I'll ask the guy who wrote it |
16:37 |
|
rliebz |
Also, it looks to me like file IDs stay the same between drafts and released versions, and they only change if you delete and reupload a file |
16:38 |
|
pdurbin |
ok. that makes sense to me. the id stays the same if the file hasn't changed |
16:46 |
|
pdurbin |
rliebz: emailed him |
16:46 |
|
pdurbin |
rliebz: in the meantime... check this out, for example: Textbooks and Test Scores - Harvard Dataverse Network - http://thedata.harvard.edu/dvn/faces/study/StudyPage.xhtml?globalId=hdl:1902.1/11252 |
16:47 |
|
pdurbin |
see how at the bottom it says "Download the cataloging information in XML format - DDI (without variables)" |
16:48 |
|
pdurbin |
I just curl'ed https://thedata.harvard.edu/dvn/api/metadata/23310?partialExclude=codeBook/dataDscr and it seems like the file names and IDs are exposed |
16:48 |
|
pdurbin |
i.e. <otherMat level="study" URI="http://thedata.harvard.edu/dvn/dv/jpal/FileDownload/96pupil1_2.pdf?fileId=1132549"> |
16:48 |
|
pdurbin |
rliebz: does that help? |
16:50 |
|
jwhitney |
pdurbin: IDs, no, but filenames (well, content source URIs) relate DV files to OJS suppfiles. |
16:52 |
|
pdurbin |
jwhitney: right. makes sense |
17:11 |
|
|
axfelix joined #dvn |
17:11 |
|
rliebz |
pdurbin: I'm taking a look now |
17:13 |
|
pdurbin |
great |
17:24 |
|
rliebz |
pdurbin: So it's working with the link you gave me, but when I plug in the test server and one of my studies I'm getting a 503 |
17:26 |
|
pdurbin |
huh |
17:26 |
|
pdurbin |
rliebz: has the study been released? |
17:27 |
|
rliebz |
The study has been released |
17:27 |
|
rliebz |
I am currently logged out, viewing the study, so I don't think access is a problem |
17:30 |
|
pdurbin |
rliebz: can you please give me a link to the study? |
17:34 |
|
rliebz |
The study is at http://dvn-demo.iq.harvard.edu/dvn/dv/RDV1/faces/study/StudyPage.xhtml?globalId=doi:10.5072/FK2/10582 |
17:34 |
|
pdurbin |
hmm, no link at the bottom |
17:35 |
|
rliebz |
And I tried using https://dvn-demo.iq.harvard.edu/dvn/api/metadata/doi:10.5072/FK2/10582, which is the link I constructed by referencing the API docs |
17:38 |
|
pdurbin |
rliebz: I'm hearing that a job runs overnight to generate the XML.. and the a link will appear at the bottom of the study when the XML is available |
17:38 |
|
rliebz |
Gotcha. I'll give it another go another time then |
17:40 |
|
pdurbin |
ok. sorry, I'm not very familiar with this API |
17:46 |
|
rliebz |
That's fine. I'll pick it up on Thursday |
17:46 |
|
pdurbin |
sounds good |
20:22 |
|
|
axfelix joined #dvn |
21:18 |
|
|
axfelix joined #dvn |
21:22 |
|
|
garnett joined #dvn |
22:38 |
|
|
skay joined #dvn |
22:38 |
|
|
skay joined #dvn |