View source: R/import_drivefile.R
| import_drivefile | R Documentation | 
'import_drivefile' is a wrapper around 'googledrive::drive_download', useful for pulling multiple files from a given Google Drive folder (with a Google ID provided) to download by default to the Data folder of a project.
import_drivefile(drive_folder, filename, folderpath = "Data", zip = TRUE)
drive_folder | 
 Google id for Google Drive Folder  | 
filename | 
 exact name of file on Googl Drive to download  | 
folderpath | 
 path where you want file stored, default = "Data"  | 
zip | 
 should the file be zipped? default = TRUE  | 
stores file from Google Drive as a zipped file
## Not run: 
library(googledrive)
googledrive::drive_auth()
fldr <- "Spp-y8DYsdRTrzDqUmK4fX5v"
import_drivefile(fldr, "TestFile.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.