What this Package Does
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 bulk_reference_generation() takes the data in the
input.xlsx file and uses it to perform the bulk upload. The bulk upload
consists of:
- Data validation
- Create draft reference(s) on DataStore
- Populate each draft reference with the supplied information
- Upload all the file(s) in the specified directory
to the draft reference(s)
- Connect your reference to a pre-existing DataStore Project
reference
The bulk_reference generation() 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.
What this Package Doesn’t
- Connect to the VPN or to the NPS network for you (you must be
connected to the network to use these functions)
- Register ORCiDs for authors
- Add an author’s ORCID to their Active Directory/Entra ID
account
- Provide peer, technical, administrative, or other review of the
reference(s) created
- Add taxonomy to the reference(s)
- Activate (“publish”) the reference(s)
Supported DataStore Reference Types
- Audio Recording
- Generic Document
- Web Site
- Generic Dataset
- Field Notes *
- Field Notes are not an actual reference type on DataStore.
Information supplied as “Field Notes” to DSbulkUploadR will be treated
as a Generic Document with the exception that the keyword “FieldNotes”
will be added to the GenericDocument for triage at a later date.
Supported File Types
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!