R/s3.R
s3_download_file.Rd
Download a file from S3
s3_download_file(uri, file, force = TRUE)
string, URI of an S3 object, should start with s3://, then bucket name and object key
s3://
string, location of local file
boolean, overwrite local file if exists
invisibly file
file
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.download_file
if (FALSE) { # \dontrun{ s3_download_file('s3://botor/example-data/mtcars.csv', tempfile()) } # }