s3_get: Download a file from S3

Description Usage Arguments

View source: R/s3.R

Description

Download a file from S3 to the local project

Usage

1
2
3
4
5
6
s3_get(
  ind_file,
  verbose = FALSE,
  config_file = getOption("scipiper.s3_config_file"),
  ind_ext = getOption("scipiper.ind_ext")
)

Arguments

ind_file

character name of the indicator file for which data should be downloaded. downloads the S3 object whose key equals the data_file basename

verbose

logical used to determine whether to include messages specific to s3_get()

config_file

character name of the yml file containing project-specific configuration information

ind_ext

the indicator file extension to expect at the end of ind_file


aappling-usgs/scipiper documentation built on Aug. 1, 2020, 3:11 p.m.