R/write_core_bibliography.R
write_core_bibliography.Rd
This 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(
path = getwd(),
filename = "DSbulkUploadR_input.xlsx",
sheet_name,
row_num,
dev = TRUE
)
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".
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.
Integer. The 7-digit DataStore reference ID where data will be written
String. The name of the sheet within the xlsx to get data from.
NULL (invisibly)
if (FALSE) { # \dontrun{
write_core_bibliography(reference_id = 1234567,
filename = "DSbulkUploadR_input.xlsx",
row_num = 1,
sheet = "AudioRecording",
path = getwd(),
dev = TRUE)} # }