import_sharepoint.Rd
Import a file from a specified Sharepoint location
import_sharepoint(site, drive, file_path, destination = NULL)
Name of sharepoint site you want to take a file from. Can be found in the URL of the Sharepoint location, e.g. for "departmentfortransportuk.sharepoint.com/sites/Rail", the site name would be Rail
Name of the sharepoint drive the file sits on. 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.
Name and location of the file you want to extract from sharepoint. Includes the extension and any folders after the drive name
Folder and filename location to download the file to. Defaults to NULL, which saves the file with it's current filename in your current working directory.