Skip to content

Bulk Upload

Chuck Greenman edited this page Mar 18, 2019 · 1 revision

Scholar includes a Rake task for batch upload of collections and works. Batch upload includes the ability to import works directly into collections or as child works. Works with existing DOIs can now be assigned those DOIs in scholar through the bulk upload task.

Rake task syntax:
rake batch:load:works CSV_LOCATION="/tmp/test-batch/ready.tsv" PATH_TO_WORKS="/tmp/test-batch/"

CSV Format

Field Repeatable Required Description Accepted Tokens
work_type No Yes The curation concern type of the object. generic_work, image, article, document, dataset, medium, student_work
title No Yes The title of the work you are uploading.
submitter_email No Yes The email of the user who should own this work.
alternate_title Yes No Other titles for the work being uploaded.
creator Yes Yes The name of the person who created the work
advisor Yes No Name of the advisor associated with this work
college No No Name of college associated with this work
department No No Name of department associated with this work
subject No No Work subject
degree No No Used when work is produced as part of a thesis or capstone project.
date_created No No When the work was created
alt_description No No An alternative description of the work.
rights No Yes A link to a license description from creativecommons.org
publisher No No Who published this work?
note No No A note about the work
collection No No ID of the collection that you would like to assign this work to
visibility No Yes What should the visibility of the work be? open, restricted, private
file_path No Yes Local path to file to attach to the work
file_title No No What should the friendly file name be?
file_visibility No No What should the visibility of the attached file be? open, restricted, private
  • Tab delimted, no quotes surrounding fields; use LibreOffice for spreadsheet output for best results (don't use excel).
  • Sample works .tsv