UploadRelationshipToFactbase: Upload a relationship to Factbase.

View source: R/Factbase.R

UploadRelationshipToFactbaseR Documentation

Upload a relationship to Factbase.

Description

Upload a relationship to Factbase.

Usage

UploadRelationshipToFactbase(
  data,
  token,
  mode = "replace_all",
  definition = NULL,
  hyperlink = NULL,
  owner = NULL,
  test = list()
)

Arguments

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.

Value

The value of 'data' that was passed in, so caller can see data uploaded if this is the last call in R code.


Displayr/flipAPI documentation built on April 17, 2024, 9:42 a.m.