This function reads files stored in a SharePoint
Usage
SharePoint_file(SharePoint, drive, file, .function, ...)
Arguments
- SharePoint
url
- drive
SharePoint drive
- file
File path
- .function
Function that will be used to reading the file
- ...
.function
args
Examples
if (FALSE) {
SharePoint_file(
SharePoint = "https://page.sharepoint.com",
drive = "Documents",
file = "Book.txt",
read.delim,
sep = ""
)
}