download_s3: Download S3 object to file

View source: R/download.R

download_s3R Documentation

Download S3 object to file

Description

Download S3 object to file

Usage

download_s3(object, bucket, opts = NULL, filename = NULL, ..., progress = TRUE)

Arguments

object

Object name or s3 url

bucket

Optional bucket (derived from object if missing)

opts

Options passed on to aws.s3::save_object()

filename

File name to save to (defaults to tempfile())

...

Passed as options to aws.s3::save_object()

progress

If set show download progress bar

Value

File name of saved download


Paradigm4/revealcore documentation built on May 21, 2023, 9:57 a.m.