drive_download_dir: Download a folder from Google Drive

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Download a folder from Google Drive

Usage

1
drive_download_dir(drive_folder = NULL, dl_path = getwd())

Arguments

drive_folder

a google drive folder path or id

dl_path

a local path to dowload the folder to. Defaults to getwd().

Value

nothing.

Examples

1
2
3
4
5
6
## Not run: 
drive_download_dir(
drive_folder = as_id("https://drive.google.com/open?id=0B7688WPR38x2Nk5yYV9ZMVYwWVE"),
dl_path = "./models")

## End(Not run)

MilesMcBain/mmmisc documentation built on Aug. 4, 2020, 10:50 a.m.