upload_to_amazon
data_to_amz.Rd
The functions data_to_amz and eml_to_amz are convenience functions to facilitate uploading data and metadata (xml) files, respectively, to a bucket in the AWS S3 ecosystem.
Usage
data_to_amz(
file_to_upload,
data_path = "/datasets/cap/",
aws_bucket = "gios-data"
)
eml_to_amz(
file_to_upload,
metadata_path = "/metadata/",
aws_bucket = "gios-data"
)
Arguments
- file_to_upload
(character) The quoted name and path (if relevant) of the file to be uploaded.
- data_path
(character) The quoted name to the directory in the AWS environment to store data files.
- aws_bucket
(character) The AWS bucket to which data and/or metadata should be contributed.
- metadata_path
(character) The quoted name to the directory in the AWS environment to store metadata files.