Description Usage Arguments Value
View source: R/importAndProcess.R
Provided a regex or fileID this will import the character from your google drive so it can be used in utility functions. Will ask for googledrive authentication on first load. If you are using Rstudio server, you can authenticate using another machine and move the generated .httr-oauth file to your working directory.
1 2 |
regex |
A regular expression that matches the file name. If there are multiple matches, the most recently edited file will the chosen |
fileID |
A googledrive file ID. |
file |
path to file |
output |
if provided, the file will be saved here. if not, a temporary file will be used |
overwrite |
If TRUE the new file will overwrite the old one. Not important if output isn't provided as the file will be deleted eventually |
... |
Variables to pass to googledrive::drive_find (if regex is given) or googledrive::drive_get (if fileID is given). |
The output is a nested list extracted from the original XML file, edited to make certain fields more computer readable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.