Read a CSV or Excel file directly from SharePoint

read_sharepoint_file(site, drive, file_path, ...)

Arguments

site

SharePoint site name

drive

Drive name within SharePoint

file_path

Path to the file on SharePoint (including filename and extension)

...

Additional arguments passed to read.csv() or read_excel()

Value

A data.frame or tibble