Export an R object as a CSV or XLSX file to a specified Sharepoint location
export_sharepoint_file.Rd
Export an R object as a CSV or XLSX file to a specified Sharepoint location
Arguments
- x
Name and location of a local file.
- file
Name and location on sharepoint you want the file to be saved to. Includes the extension and any folders after the drive name
- site
Name of sharepoint site you want to save a file to. Can be found in the URL of the Sharepoint location, e.g. for "departmentfortransportuk.sharepoint.com/sites/Rail", the site name would be Rail
- drive
Name of the sharepoint drive you want to save the file to Can be found in the URL of the sharepoint location e.g. for "departmentfortransportuk.sharepoint.com/sites/Rail/RailStats", the drive name is "RailStats". Can also be found using the list_sharepoint_drives() function in this package.