Skip to contents

The AWS CLI tool must be installed and authenticated to write to s3://geomarker-io/codec_data. The resulting data package will be available publicly.

Usage

codec_dpkg_s3_put(x)

Arguments

x

a data package (dpkg) object, ideally created with as_codec_dpkg() to ensure the data meets CoDEC specifications

Value

character string URI of uploaded resource

Examples

if (FALSE) { # \dontrun{
# use aws command line to login interactively via profile sso account"
system2("aws", c("sso", "login", "--profile", "geomarker-io"))
# make sure to set AWS_PROFILE so the AWS CLI tool knows to use it by default"
Sys.setenv("AWS_PROFILE" = "geomarker-io")
} # }