Description Usage Arguments Value Author(s)
These functions allow us to populate and manage data within an
AmazonDB domain.
putAttributes
allows us to put named elements in a vector
as attributes of an item in an AmazonDB domain.
The idea is that we have an R object which is a list or vector
with named components. We map these elements to attributes
within an item in the database.
At present, the values are converted to strings. There is no support for numbers, etc. We will build this in later as a higher-level layer with the database tables having their own meta-data giving the R types.
1 2 3 4 5 6 | getAttributes(domain, name, auth = getOption("AmazonAWS"),
.opts = getDefaultS3CurlOptions())
putAttributes(domain, ..., name = names(.objs)[1],
auth = getOption("AmazonAWS"),
.objs = list(...),
.opts = getDefaultS3CurlOptions())
|
domain |
the domain in which the operations act |
name |
the name of the item being manipulated. |
auth |
the authorization key and identifier for the operation. |
... |
|
.objs |
an alternative way to specify the collection of R objects to upload. This allows them to be specified as a single object, a list. |
.opts |
a list of options passed to
|
getAttributes returns a vector or list of the values for the different attributes within the name. This is typically a character vector.
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.