UploadRelationshipToFactbase | R Documentation |
Upload a relationship to Factbase.
UploadRelationshipToFactbase(
data,
token,
mode = "replace_all",
definition = NULL,
hyperlink = NULL,
owner = NULL,
test = list()
)
data |
A data.frame with at least two columns, each of which should be coerced to character vectors. The first column is the dimension we are mapping from. Subsequent columns contain labels in dimensions that we are mapping to. The names of these columns to be used as the names of these dimensions. |
token |
A guid that identifies and authenticates the request. Talk to Oliver if you need one of these. |
mode |
(optional) One of "replace_all", "append" or "append_or_update" See comments for FactPostUpdateType. |
definition |
A detailed explanation of the meaning and derivation of the data. |
hyperlink |
A link to a web page where more can be read about the data. Preferably this is a link into the system that calls this function. |
owner |
The name (usually an email address) of whoever should be contacted to deal with problems or questions about this data. |
test |
(optional) For testing only. Ignore. |
The value of 'data' that was passed in, so caller can see data uploaded if this is the last call in R code.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.