`r lifecycle::badge("experimental")`

`export_drivefile() is designed to move files googledrive`

export_drivefile(
  filename,
  to_drive,
  to_folder = NULL,
  add_folder = TRUE,
  overwrite = TRUE,
  ...
)

Arguments

filename

Character, Full name of the file to be uploaded

to_drive

Character, Google drive id

to_folder

Character, Google drive sub-folder

add_folder

Logical. If TRUE, add sub-folders if they are not present

overwrite

Logical. If yes, existing files will be overwritten

...

Additional parameters to be passed to `googledrive::drive_upload()`

Value

Googledrive file(s) id(s)

Examples

if (FALSE) { # \dontrun{
 library(glamr)

 list.files("./Graphics", "NIGERIA", full.names = TRUE) %>%
      export_drivefile(filename = .,
                       to_drive = "<path-id>",
                       to_folder = "FY99Q4/VL Suppression",
                       add_folder = TRUE)

} # }