Description Usage Arguments Value Examples
OneDrive files must be downloaded before they can be accessed. This function takes a number of steps to extract a file from the respective cloud location and returns the local path to access the file as necessary. To avoid redundancy, files are stored in the current temporary R directory which is cleaned when the session is ended. The time stamp of the local copy of the file is always checked before any reading is done to minimize downloads as necessary.
1 | get_cloud_file(con, .close = FALSE)
|
con |
A cloud_file connection object |
.close |
Boolean - whether or not to close the input file connection |
Local filename of the desired file in the R temporary directory
1 2 3 4 5 | ## Not run:
sp_file <- sharepoint_file('/some/sharepoint/file.txt')
get_cloud_file(sp_file)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.