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

View source: R/read.R

download_file_from_s3R Documentation

Download a file from s3 to somewhere in your home directory

Description

Download a file from s3 to somewhere in your home directory

Usage

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

Rs3tools:::download_file_from_s3("alpha-everyone/iris.csv", "iris.csv", overwrite =TRUE)

moj-analytical-services/Rs3tools documentation built on Aug. 9, 2024, 1:27 a.m.