Write a data file from R to create a new document version
Details
This function can be used to write the following data file types: csv, rds, xlsx. The file type used is determined by the file type of the existing document.
The function works by writing the R object to a temporary file and uploading
the file to Objective Connect. The following functions are used to
write the data and any additional arguments (...
) will be passed to these.
File Type | Function |
csv | readr::write_csv() |
rds | readr::write_rds() |
xlsx | writexl::write_xlsx() |
If there are other data file types you would like to upload using this function, please open an issue on the GitHub repository.