file_download_unzip: Download and unzip a file.

Description Usage Arguments Value Examples

View source: R/file_download_unzip.R

Description

Downloads a zipped file from the internet and unzips it to a directory.

Usage

1
file_download_unzip(url_file, path)

Arguments

url_file

URL of the file to download and unzip.

path

Directory to put the unzipped file.

Value

Character vector giving the path to the downloaded and unzipped file.

Examples

1
2
3
4
5
6
7
## Not run: 
file_download_unzip(
  url_file = "https://github.com/dcl-docs/project/archive/master.zip",
  path = "~/my/dir"
)

## End(Not run)

stanford-datalab/dcl documentation built on March 24, 2021, 8:44 a.m.