Skip to content

jesswhyte/dataverse-stuff

Repository files navigation

CreateDS-uploadfile.py:
Script example for creating datasets and uploading files -create dataset (using an atom.xml and sword api)
-get returned dataset_id
-upload file to dataset (using returned dataset_id) and passed description (uses native api)

Pull-dataset-metadata.py:
Script example for extracting metadata from dataverse
-function getID lists all returned objects under top dataverse_id
-then if 'type' == dataset, parses out dataset_id
-then runs function getMetadata which shows the dataset whose ID is passed
-output of getMetadata could be dumped in file for future work

About

python scripts for playing with dataverse APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages