Skip to content
Snippets Groups Projects
Commit 225f5f7a authored by JOUNEAU Thomas's avatar JOUNEAU Thomas
Browse files

Update README.md

parent d4a35c85
No related branches found
No related tags found
No related merge requests found
## scripts pyDataverse#
# scripts pyDataverse #
Several Python scripts using py Dataverse (https://pydataverse.readthedocs.io/en/latest/)
Written under v.3.10 but any python3 compatible with pyDataverse should work.
# Prerequisites #
## Prerequisites ##
Python3 and pyDataverse must be installed.
# /dorel_export_v_0.2 #
## /dorel_export_v_0.2 ##
- citation_demo.sh : launches the two Python scripts one after the other. If default file names are kept when asked, can be played as a simple demo of an export.
- purge.sh : deletes the default files created (export_json.json and datasets_list.txt)
- get_batch_dataset_metadata_with_subcollections.py : gets every DOI from a Dataverse collection, including subcollections up to 4 sublevels, and outputs a JSON export of all of them.
- generate_citation.py : generates a text file with citations formatted as recommended by Dataverse, from the JSON file generated by the previous script (default file name same as default out : export_json.json)
# misc
## misc ##
- get_single_dataset_metadata.py : outputs a JSON export of a single dataset (not really useful, just here as reference)
- generate_tree : outputs the tree of a dataverse collection not unlike the "tree" API call in Dataverse 5.4+
- download_dataset : downloads an entire dataset based on the DOI. The directory structure is NOT preserved yet, so it's not of any use now.
# TODO #
## TODO ##
- make all scripts of dorel_export accept arguments from the command line
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment