Overview

I had an opportunity to try Dataverse, so here are my notes. I used the following demo environment.

https://demo.dataverse.org/

Creating an Account

Create an account from Sign Up.

Creating a Dataverse

Let’s try creating a Dataverse.

I created the following Dataverse.

https://demo.dataverse.org/dataverse/nakamura196

Creating a Dataset

Create a dataset from Add Data.

The following is the registration screen.

The following is the registration result screen.

The URL was as follows, and it appeared to use the automatically assigned DOI as the identifier within the system.

https://demo.dataverse.org/dataset.xhtml?persistentId=doi:10.70122/FK2/HBXQPZ

Whole Tale

There was an option called Whole Tale in the Access Dataset button.

I created an account and set the Compute Environment to Jupyter Notebook.

Press the Acknowledge all button.

As a result, the following Jupyter Notebook environment was created.

Let’s try displaying the downloaded image using Python.

As shown above, it appeared that verification and testing of datasets and source code could be performed seamlessly.

Widgets

Let’s click “Thumbnails + Widgets” below.

Let’s display the “Widgets” tab below.

Embedding the above code allowed displaying embedded information about the dataset, as shown below.

https://codepen.io/satoru196/pen/NWEMvEV?editors=1000

API

Let’s try using the Python library.

https://pydataverse.readthedocs.io/en/latest/

Install the library.

!pipinstallpyDataverse

Downloading Data

I referenced the following page.

https://pydataverse.readthedocs.io/en/latest/user/basic-usage.html#download-and-save-a-dataset-to-disk

ffbadDdffrrapaOaiooositItlrmmeaae_=_=ssfffprwppuae_iiireiyyrNp"tllllistDDlaidieeenphaato=sn_toftt=i=itiai(no.aav:anmd"spwvv'eD1p=eFeereehAa0if=inirrtpt..di=l=(tsstia7galfefeeep(A0etefidi(..sbc1tasilnalram:ac2_s_leateepo/se2dele[mansid/es/ati["e_aped_sFt.s"damoileuAKajtda{penmsmrp2ss:at}i,spoli/eota,.eoi.)(HtnaFg".rmdbB((FiiewctpaaXD)ildtbootsQO[le_"nNraePI'e"{d)tatv_Z)d"]}aeteu"a]["taniDrrt[".astvasla"iff)ete)'fdoifAa.]i"rl:pvo[l]meier'ea(,rglntfs'aa(iDetmflaeeiets"l_at]eiAVndcea)crmesesi,soAnfp'ii]l[e'_fiidl)e)s']

Creating a Dataset (I did not have permissions on demo.dataverse.org.)

I did not have permissions on demo.dataverse.org, but I’ll note what I attempted.

I referenced the following.

https://pydataverse.readthedocs.io/en/latest/user/basic-usage.html#create-dataset

Issue an API Token.

Download the sample data.

!wgethttps://raw.githubusercontent.com/gdcc/pyDataverse/master/tests/data/user-guide/dataset.json

Check the data.

ffddddrrssssoo_..mm=ffgireppDlotyyaem(DDtn_)aaaajttsmsaaeeovvtnee(=(rr)rss"eeeda..admut_otafdisielellstes.(ijdimssmpo_ponfor"irtlternDeaaamtdea_)sf)eitle

It appears that you can create a dataset with code like the following.

fBADarrrAPVpeeoSI_issmE_Ppp_TA=.pUOR=jyRKENsDLENaaoaNTtpnt=_ii(a=Av.)v'Leceh"IArrtxApestxSiaepx(t.s-=Bea:xA_p/x"Sdi/xnEad-a_tiexkUammxaRspoxmLeo.-u,trdxr(taxaADtx1PVNa"9I_av6_Pte"TAirORvsKEeeENA.NTpo)_irAgL'IAS,ds.json())

However, the following error message was returned. It appeared that I did not have permissions on demo.dataverse.org.

ApiAuthorizationError: ERROR: POST HTTP 401 - Authorization error https://demo.dataverse.org/api/v1/dataverses/pyDataverse_user-guide/datasets. MSG: User @nakamura196 is not permitted to perform requested action.

Summary

I was only able to try a small portion of Dataverse’s features, but I was impressed that it provides many features suited for publishing and utilizing datasets.

I hope this serves as a helpful reference for researching Dataverse.