f_upload_file_to_google_drive: Upload given file to Google Drive

View source: R/f - Upload file to Google Drive.R

f_upload_file_to_google_driveR Documentation

Upload given file to Google Drive

Description

Uploads given file to Google Drive.

Usage

f_upload_file_to_google_drive(
  c.file.string,
  c.file.type,
  c.path,
  c.folder,
  b.exact.match = FALSE,
  c.file.string.exclude = NULL,
  c.show.report = "all"
)

Arguments

c.file.string

Core name of the file to upload.

c.file.type

File type of file to upload.

c.path

Path holding the file to upload.

c.folder

Google folder where to upload the file.

b.exact.match

Should file name have exact match with c.file.string (default: FALSE)

c.file.string.exclude

Any string to exclude files for (default: NULL).

c.show.report

What info should be printed to console when searching for files (default: "all")

Details

-

Value

Nothing.

Author(s)

Pieter Overdevest

Examples

f_upload_file_to_google_drive(

     c.file.string         = "Daisycon Feed",
     c.file.type           = "csv",
     c.path                = path.deliverables,
     c.folder              = "12. Data Science BUHV-Oletti/",
     b.exact.match         = FALSE,
     c.file.string.exclude = NULL,
     c.show.report         = "all"
)

pieterov/generaltoolbox documentation built on Jan. 25, 2025, 10:32 a.m.