download_file_from_s3: Download a file from s3 to somewhere in your home directory

Description Usage Arguments Examples

View source: R/download_file_from_s3.R

Description

Download a file from s3 to somewhere in your home directory

Usage

1
download_file_from_s3(s3_path, local_path, overwrite = FALSE)

Arguments

s3_path

character - the full path to the file in s3 e.g. alpha-everyone/iris.csv

local_path

- character - the location you want to store the file locally e..g

overwrite

- boolean - if file exists locally, overwrite?

Examples

1
s3tools:::download_file_from_s3("alpha-everyone/iris.csv", "iris.csv", overwrit =TRUE)

moj-analytical-services/s3tools documentation built on Sept. 13, 2021, 5:31 a.m.