gdcc/pyDataverse

Function to convert metadata to json

Closed this issue · 1 comments

Question/ Feature Request

May have missed this, but is there a helper function to create the metadata json files of a dataset (e.g. this one in your examples) from more common input like a CSV or a python dictionary?

I am basically wondering if the user needs to write out JSON manually to upload the metadata to a dataset/datafile, which seems tedious.

  • The import can be done with help of the CSV templates.
  • The export is done by the json() function.

You can check this out in our user guide tutorials: