upload_to_g_drive | R Documentation |
Uploads one or more files to Google Drive.
upload_to_g_drive(
filepaths,
g_drive_folder,
path_gcp_service_account_key = Sys.getenv("PATH_GCP_KEY_ZDA"),
quiet = FALSE
)
filepaths |
Local path(s) to the file(s) to be uploaded. |
g_drive_folder |
Destination path on Google Drive where the files are to be uploaded to. |
path_gcp_service_account_key |
Path to the GCP Service Account Key JSON file. See |
quiet |
Whether or not to suppress printing status output from googledrive operations. |
Essentially a convenience wrapper around googledrive::drive_put()
.
filepaths
, invisibly.
Other Google Apps functions:
auth_g_drive_gcp()
,
auth_g_sheets_gcp()
,
backup_g_file()
,
backup_g_sheet()
,
g_file_mod_time()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.