View source: R/cms_download_native.R
| cms_native_s3 | R Documentation |
Native files (i.e. files as provided by suppliers) are hosted with the
Amazon Simple Storage Service (s3).
This function generates a
paws::s3() object, that can be
used to navigate and download these files.
cms_native_s3(
config = list(),
credentials = list(anonymous = TRUE),
endpoint = "https://s3.waw3-1.cloudferro.com",
region = "us-east-1",
...
)
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
... |
Ignored |
Note that alternative functions in this package provide more convenient routes:
cms_list_native_files()
cms_download_native()
cms_native_proxy()
Returns a paws::s3() object, specifically representing
the service that hosts Copernicus Marine native data.
Other download:
cms_download_native(),
cms_download_subset(),
cms_native_proxy(),
cms_zarr_proxy()
if (interactive()) {
my_s3 <- cms_native_s3()
my_s3$list_objects_v2("mdl-native-14", MaxKeys = 5)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.