sensus.sync.from.aws.s3 {SensusR}R Documentation

Synchronizes data from Amazon S3 to a local path.

Description

Synchronizes data from Amazon S3 to a local path.

Usage

sensus.sync.from.aws.s3(s3.path, profile = "default",
  local.path = tempfile(), aws.path = "/usr/local/bin/aws",
  delete = FALSE, decompress = FALSE)

Arguments

s3.path

Path within S3. This can be a prefix (partial path).

profile

AWS credentials profile to use for authentication.

local.path

Path to location on local machine.

aws.path

Path to AWS client.

delete

Whether or not to delete local files that are not present in the S3 path.

decompress

Whether or not to decompress any gzip files after downloading them.

Value

Local path to location of downloaded data.


[Package SensusR version 2.3.1 Index]