From 225f5f7a5b731c3da714b344d573222f4dcc5260 Mon Sep 17 00:00:00 2001 From: JOUNEAU Thomas <thomas.jouneau@univ-lorraine.fr> Date: Thu, 13 Jan 2022 14:47:58 +0000 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3fbaa31..23c2766 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,21 @@ -## 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 -- GitLab