Currently "Scratch" code to use the dataverse api
- Install pip: http://pip.readthedocs.org/en/latest/installing.html
cd dv-api-test
pip install -r requirements/base.txt
- try this stackoverflow code
- See Issue #1 for more details on how to do this
cd ~/dv-api-test/scripts
# This uses the dv names listed in ~/dv-api-test/data_in/vdc.csv
python add_vdc.py
- Edit the bottom of the scripts/add_vdc.py file
- Comment out "add_dataverses(1, 700)"
- Uncomment "delete_dataverses(3,700)"
if __name__=='__main__':
#add_dataverses(1, 700)
delete_dataverses(3,700)