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 return a dataframe
containing all of the information supplied in the input .xlsx file with
one additional column containing the datastore reference ID for each
newly created reference. You may wish to write this dataframe to a .csv,
.txt, or similar for your records.
After creating the references, you may wish to activate them. To do
this, use the reference IDs within the dataframe returned by
generate_references as the input for the
activate_references function. Ensure that the references
have received the appropriate level of review before
you activate them.
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!