Description Usage Arguments Note Author(s) Examples
This function is minimalistic wrapper for httr, with the intention
of making it easy to read files from sharepoint using read_data
.
1 2 3 4 5 6 7 8 9 | sharepoint_mount(link)
sharepoint_link(link)
## S3 method for class 'sharepoint_link'
read_data(file, destination = NULL, ...)
## S3 method for class 'sharepoint_mount'
read_data(file, ...)
|
link |
A string starting with |
file |
An object returned from |
destination |
Optional: When sharepoint is not mounted, files are always downloaded before being read into R. The file is temporary if you do not set the destination. |
... |
Further arguments passed to |
This function requires httr if the drive is not mounted. User/password will be requested and stored for the current R session. Imporant that you don't share your .Rhistory after this!
Kristian D. Olsen
1 2 3 4 5 6 | ## Not run:
# The gist of it:
read_data(sharepoint_link(your_server))
read_data(sharepoint_mount(your_server))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.