cloud_drive_download_bulk {cloudfs} | R Documentation |
Bulk download contents from Google Drive
Description
Downloads multiple files from a Google Drive folder based on the output dataframe from cloud_drive_ls. This function streamlines the process of downloading multiple files by allowing you to filter and select specific files from the Google Drive listing and then download them in bulk.
Usage
cloud_drive_download_bulk(content, quiet = FALSE)
Arguments
content |
(data.frame) Output of |
quiet |
All caution messages may be turned off by setting this parameter
to |
Value
Invisibly returns the input content
dataframe.
Examples
# provided there's a folder called "toy_data" in the root of your project's
# Google Drive folder, and this folder contains "csv" files
cloud_drive_ls("toy_data") |>
filter(type == "csv") |>
cloud_drive_download_bulk()
# clean up
unlink("toy_data", recursive = TRUE)
[Package cloudfs version 0.1.3 Index]