IQSS logo

IRC log for #dataverse, 2018-04-06

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
02:33 bricas joined #dataverse
03:13 pdurbin joined #dataverse
07:08 jri joined #dataverse
07:21 jri joined #dataverse
09:04 jri joined #dataverse
09:12 jri joined #dataverse
10:30 jri joined #dataverse
11:53 jri joined #dataverse
12:09 jri joined #dataverse
12:35 jri joined #dataverse
13:03 jri joined #dataverse
13:23 pameyer joined #dataverse
13:29 pdurbin pameyer: morning, question about https://github.com/IQSS/dataverse/issues/4560
13:30 pameyer pdurbin: morning - what are you wondering about?
13:30 pameyer I haven't had a chance to try out your latest suggestion :(
13:30 pameyer yet
13:31 pdurbin ok, at standup yesterday I said I'd follow up so I just did. thanks :)
13:31 pameyer that was an easy question :)
13:33 pdurbin Oh, I played around with https://github.com/publiclab/community-toolbox a bit last night. I heard about it at LibrePlanet.
13:33 pdurbin You can see a demo at https://publiclab.github.io/community-toolbox/
13:34 pdurbin And it seem to work fine with the Dataverse issue tracker: https://publiclab.github.io/community-toolbox/examples/embed.html#o=IQSS&r=dataverse&l=first-timers-only
13:34 pameyer interesting
13:34 pameyer although npm and grunt make me cautious; at least partly from experience
13:35 pdurbin Well, you can just use their installation. You don't have to install it yourself. You just pass in the right parameters.
13:36 pdurbin For more context, see https://publiclab.org/wiki/software-outreach#First-timers-only and the video of the talk I attended: https://media.libreplanet.org/u/libreplanet/m/sharing-strategies-for-welcoming-newcomers-into-floss-projects-first-timers-only-list-moderation-and-more/
14:18 pameyer left #dataverse
14:21 jri joined #dataverse
14:47 pdurbin Oh, and they're on Gitter, which is kind of neat: https://gitter.im/publiclab/publiclab
14:47 pdurbin I shared some thoughts on the talk at https://github.com/IQSS/dataverse/issues/4505#issuecomment-376524919
15:07 xyz1 joined #dataverse
15:24 xyz1 joined #dataverse
15:47 Thali_UM joined #dataverse
15:47 Thali_UM Hiiiiiii Philip
15:47 Thali_UM Good morning
15:47 Thali_UM i have a question
15:48 pdurbin good morning!
15:48 Thali_UM if I add values in the value controller, is it shown in the interface ???
15:49 pdurbin "value controller"? Do you mean "controlled vocabulary"?
15:49 Thali_UM yes
15:50 Thali_UM Controlled vocabulary
15:51 pdurbin It should show in the interface if you added them correctly. How are you adding them?
15:51 Thali_UM I Still not add anything
15:53 Thali_UM I intend to add the field in the datasetfieldtype and then the list of controlled vocabulariy
15:53 Thali_UM Is it correct?
15:54 pdurbin Oh, by directly modifying the database? No, please don't do that. Please try using the API instead, like this: https://github.com/IQSS/dataverse/blob/v4.8.6/scripts/api/setup-datasetfields.sh
15:56 Thali_UM That's why I wanted to consult with you before making modifications.
15:56 Thali_UM Thanks Philip
15:57 Thali_UM i will try using that API
15:58 pdurbin Sure. Are you creating your own custom metadata block?
15:59 Thali_UM What exactly do it do when executing curl http: // localhost: 8080 / api / admin / datasetfield / loadNAControlledVocabularyValue?
16:02 pdurbin Thali_UM: do you see the list of metadata blocks in that script? citation, geospatial, etc?
16:25 jri_ joined #dataverse
16:58 Thali_UM Yes
16:59 Thali_UM I see them
17:30 Thali_UM I want to add new fields to the datasets form
18:15 pdurbin Thali_UM: if you are adding new fields, you should create a custom metadata block. Do you know what I mean by this? Here is where we add custom metadata blocks to Harvard Dataverse, for example: https://github.com/IQSS/dataverse/blob/v4.8.6/scripts/api/setup-optional-harvard.sh#L47
18:19 Thali_UM How can I do that?
18:20 Michael80 joined #dataverse
18:21 Thali_UM That line, what does it do?
18:22 Thali_UM what part of the directory should I be to execute Curl?
18:24 pdurbin Oh, you have to be in the "scripts/api" directory for those examples. Here's one of the TSV files that has a controlled vocabulary: https://github.com/IQSS/dataverse/blob/develop/scripts/api/data/metadatablocks/customPSRI.tsv
18:26 pdurbin Thali_UM: unfortunately, the process of creating custom metadata blocks is not well documented. Please see https://github.com/IQSS/dataverse/issues/3168
18:28 Thali_UM yes, I already got confused how to do it, and I do not know where part of the directory should be, because I always work in / usr / local / glassfish4 / glassfish / domains / domain / applicationn / dataverse and there are the xhtml files
18:33 pdurbin It's very confusing.
18:35 pdurbin Thali_UM: if you want, please go ahead and leave a comment on that issue.
18:47 Thali_UM Where
18:47 Thali_UM in github?
18:49 pdurbin Yes. On that GitHub issue: https://github.com/IQSS/dataverse/issues/3168
18:59 Thali_UM I need install a metadata block??
19:07 pdurbin I would.
19:07 pdurbin I wouldn't recommend modifiying one of the standard metadata blocks such as the citation metadata block.
19:17 Thali_UM And this in turn shows the metadata when exporting them?
19:20 pdurbin Yes.
19:22 pdurbin Thali_UM: if you scroll down at https://dataverse.harvard.edu/dataverse/mra you can see some custom fields on the left such as "Murray Research Archive Collection"
19:26 Thali_UM Yes
19:26 Thali_UM That is what I want
19:27 Thali_UM I do not know where to start
19:27 pdurbin First, you create a file like this: https://github.com/IQSS/dataverse/blob/v4.8.6/scripts/api/data/metadatablocks/customMRA.tsv
19:28 pdurbin Then you load it up with something like this: curl http://localhost:8080/api/admin/datasetfield/load -X POST --data-binary @/tmp/customMRA.tsv -H "Content-type: text/tab-separated-values"
19:29 Thali_UM OK I will try
19:29 pdurbin cool
19:31 Thali_UM Where do I keep the file?
19:32 pdurbin In the example above it's in /tmp
19:32 pdurbin but anywhere is fine
19:40 Thali_UM really
19:40 Thali_UM Thank you philip :3
19:40 pdurbin :)
19:41 pdurbin you're welcome
19:41 Thali_UM I admire you
19:42 pdurbin thanks
19:42 pdurbin You're trying to use the "domain-specific or custom fields" feature at https://dataverse.org/software-features and this feature is not well documented so I appreciate you trying to get it to work.
19:45 Thali_UM What is the difference of both??
19:46 pdurbin "custom" means anything you want
19:46 pdurbin "domain-specific" means for a specific domain of study such as structural biology
19:46 Thali_UM Custom fields
19:47 pdurbin Dataverse ships with a few domain-specific metadata blocks: social science, astronomy, geospatial, etc.
19:48 Thali_UM yes is custom fields
19:49 pdurbin Would the custom fields you're creating be interesting to any other installation of Dataverse? Would another installation of Dataverse want to use your custom fields? Or are the custom fields very specific to your institution?
19:50 pdurbin I'm asking because if you are creating a custom metadata block that would be useful to other installations of Dataverse, you could make a pull request and add it to the code.
19:55 Thali_UM remember that we are participating in a call for repositories and most have done for literature, but we are one of the few who searched for a repository for datasets, and there are several institutions that probably use dataverse to control datasets, but a month ago they updated the values that we must insert and that is why I am again with the repositories.
20:00 pdurbin I remember.
20:00 pdurbin Sort of. :P :)
20:03 pameyer joined #dataverse
20:03 pameyer "such as structural biology" - reminds me that we haven't made a PR for that block yet
20:03 pameyer it is in a publicly visible google sheet though
20:04 pdurbin pameyer: do it. do it
20:04 Thali_UM Philip, I finished the file and execute the curl
20:04 pdurbin no one knows structural biology in this channel like you do
20:04 pameyer pdurbin: I want to give the other structural biologists a chance to use it and tell me where to fix it first ;)
20:04 pdurbin Thali_UM: wow, already?
20:04 Thali_UM yes
20:08 pdurbin pameyer: I just uploaded some screenshots having to do with "more context when someone clicks the Contact or Support" button, if you're interested: https://github.com/IQSS/dataverse/issues/1916#issuecomment-379348209
20:09 pdurbin Thali_UM: you might be interested in those also
20:10 pdurbin andrewSC: you have an installation. You could look too.
20:11 pameyer pdurbin: I'll check it out
20:14 pdurbin cool
20:28 pdurbin That's interesting. "qqmyers" isn't listed at https://github.com/orgs/IQSS/people but I was able to assign https://github.com/IQSS/dataverse/issues/4511 to him.
20:28 pdurbin I wonder if this is a new feature of GitHub.
20:29 pdurbin Or a bug. :)
20:30 pdurbin I may need to take back what I said about the "read only team" at http://guides.dataverse.org/en/4.8.6/developers/version-control.html#find-or-create-a-github-issue
20:31 pdurbin because it's way easier to not go through the process of inviting someone to join your GitHub organization
20:32 pdurbin Oh, issue labels can now have descriptions, which is nice: https://blog.github.com/2018-02-22-label-improvements-emoji-descriptions-and-more/
20:40 Thali_UM thank you philip
20:41 Thali_UM Good weekend!
20:41 pdurbin You too! To everyone. I'm heading out.
20:42 pdurbin left #dataverse
21:18 dataverse-user joined #dataverse
21:28 sean-dooher joined #dataverse
21:28 aculich joined #dataverse
21:33 sean-dooher Hey, is anyone around that has experience creating external tools?
22:10 sean-dooher joined #dataverse
22:15 aculich joined #dataverse
23:16 pdurbin joined #dataverse
23:16 pdurbin left #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.