upload_file: upload a file from local disk to an S3 bucket

View source: R/arrow_generics.R

upload_fileR Documentation

upload a file from local disk to an S3 bucket

Description

Note: file must be small enough to fit in RAM with this method.

Usage

upload_file(file, key = file, s3)

Arguments

file

file name or connection of file to be uploaded

key

the file name (key) to be used in the bucket (string, can include path)

s3

an arrow FileSystem object (usually S3 Filesystem)


eco4cast/read4cast documentation built on Nov. 7, 2023, 5:12 a.m.