IQSS logo

IRC log for #dataverse, 2015-07-13

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:02 garnett joined #dataverse
08:08 bencomp joined #dataverse
08:16 balo joined #dataverse
14:51 axfelix joined #dataverse
15:49 JonathanNeal joined #dataverse
15:55 jeffspies_ joined #dataverse
20:13 dataverse-user joined #dataverse
20:13 pdurbin dataverse-user: cool, http://chat.dataverse.org seems to be working for you
20:13 pdurbin hooray for IRC :)
20:14 dataverse-user hi folks, i'm looking for a way to get the dataset_citation as a json response given a Dataverse DOI/handle
20:15 pdurbin dataverse-user: you should be able to get it from the Search API if you narrow your search enough to just that DOI: http://guides.dataverse.org/en/latest/api/search.html
20:16 dataverse-user is there an advanced search field akin to "title:" for that?
20:18 pdurbin dataverse-user: "Dataset Persistent ID" at https://dataverse.harvard.edu/dataverse/harvard/search which is "dsPersistentId"
20:18 pdurbin but I'm thinking there may be other ways too
20:19 dataverse-user gotcha, thanks!
20:19 pdurbin huh. I don't see citation in the JSON from http://guides.dataverse.org/en/latest/api/native-api.html#datasets
20:19 pdurbin ( curl "https://apitest.dataverse.org/api/datasets/10?key=$KEY" )
20:20 pdurbin and for SWORD you have to be admin, so that's a no go
20:21 pdurbin but it should be in the atom entry: http://guides.dataverse.org/en/latest/api/sword.html#display-a-dataset-atom-entry
20:22 dataverse-user hunting around docs for how to request an API key...
20:22 pdurbin but yeah, it's in bibliographicCitation when you do this: curl -u $KEY: https://apitest.dataverse.org/dvn/api/data-deposit/v1.1/swordv2/edit/study/doi:10.5072/FK2/SRKJXU
20:23 pdurbin dataverse-user: http://guides.dataverse.org/en/latest/user/account.html#generate-your-api-token
20:23 dataverse-user ah, thanks
20:27 pdurbin dataverse-user: so to summarize it seems like the Search API is your best bet. It seem like a shortcoming in the native "datasets" API, however, that we don't include the citation in the JSON response. I *think* the SWORD API will continue to be oriented around people who have "edit" access.
20:28 pdurbin this is how I'm looking at the JSON response from the native "datasets" API: curl "https://apitest.dataverse.org/api/datasets/10?key=$KEY"
20:29 pdurbin dataverse-user: anyway, I need to go soon but please feel free to open an issue about any of this: https://github.com/IQSS/dataverse/issues
20:29 dataverse-user search should do the trick, thanks again!
20:29 pdurbin sure thing
22:23 garnett joined #dataverse
23:06 axfelix joined #dataverse
23:53 axfelix joined #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.