The DSbulkUploadR package only requires using two R
functions: write_input_template() creates an excel
spreadsheet (DSbulkUploadR_input.xlsx) with a separate sheet for each
supported reference type. After the .xlsx file is populated, a second
function generate_references() takes the data in the
input.xlsx file and uses it to perform the bulk upload. The bulk upload
consists of:
The generate_references() will invisibly return a
dataframe containing all of the information supplied in the input .xlsx
file with two additional columns containing the datastore reference ID
for each newly created reference and the status of the newly created
reference (“draft” or “active”). You may wish to write this dataframe to
a .csv, .txt, or similar for your records.
Should you choose to leave references in a draft status using
generate_references (for instance to provide an opportunity
for review prior to publication) you can subsequently and independently
activate them by passing the reference ids in the resulting data frame
to the activate_references function.
Upload of all file types is supported. There is no distinction made among file types and no need to designate specific file types. Changing the default settings can result in virtually limitless numbers and sizes of files to upload. Use caution when changing the default settings!