s3_get_save: Download an S3 object to local cache directory.

View source: R/get.R

s3_get_saveR Documentation

Download an S3 object to local cache directory.

Description

Use this version if you'd like to keep the local file cached and work on it directly (e.g. pass to other bash scripts). Particularly useful if this is a big file you only want to download once.

Usage

s3_get_save(..., unique_filename = T, aws.args = NULL)

Arguments

...

flexible s3 path description of s3 location and object name. This is relative to your cwd (use s3_cd() to print your cwd). Accepts a character vector "top/next", separate character strings c("top", "next"), or lists list("top", "next").

aws.args

character string of any additional values you need appended to this aws.cli command line call.

Value

file path


dkrozelle/s3r documentation built on May 16, 2022, 8:36 p.m.