R/write_core_bibliography.R
write_core_bibliography.RdThis function takes in a file with the required pre-validated input data (see run_input_validation) and uses it to populate the core bibliography tab for DataStore references. It currently supports AudioRecording and GenericDocument reference types.
write_core_bibliography(
reference_id,
path = getwd(),
filename = "DSbulkUploadR_input.xlsx",
sheet_name,
row_num,
dev = TRUE
)String (or integer). Seven-digit reference ID for the DataStore reference to which the bibliographic information should be added.
String. Path to xlsx file in filename. Defaults to getwd().
String. The name of the input.xlsx file containing data to be added to the reference page. Defaults to "DSbulkUploadR_input.xlsx".
String. The name of the sheet within the xlsx to get data from.
Integer. The row in the file of the xlsx sheet to be used
Logical. Whether data should be written to the development server or not. Defaults to TRUE.
NULL (invisibly)
if (FALSE) { # \dontrun{
write_core_bibliography(reference_id = 1234567,
filename = "DSbulkUploadR_input.xlsx",
row_num = 1,
sheet_name = "AudioRecording",
path = getwd(),
dev = TRUE)} # }