spgetfile: Download Files from SharePoint

Description Usage Arguments Value

View source: R/download_files.R

Description

Download file from sharepoint and return file location.

Usage

1
spgetfile(file, site, site_collection, destdir = dirname(file))

Arguments

file

a name of a file on sharepoint.

site

a SharePoint site name, e.g. '/ExpertGroups/WGNSSK'.

site_collection

a SharePoint site collection, will almost exclusively be 'https://community.ices.dk', so these functions should work for other SharePoint sites outside ICES.

destdir

a relative path of the directory to download the file to.

Value

The path of the downloaded file


ices-tools-prod/icesSharePoint documentation built on June 27, 2021, 5:16 p.m.