Config.CreatePrimaryVariable: Defines a Causata primary variable.

Description Usage Arguments Value Author(s) See Also Examples

Description

This function attempts to add a new variable to variable set configured in Causata.

Usage

1
2
3
Config.CreatePrimaryVariable(causata.config, variable.name, 
                             variable.display.name=variable.name, 
                             variable.expression)

Arguments

causata.config

An object from CausataConfig.

variable.name

The internal system-name of the variable to create.

variable.display.name

The user-visible name of the variable to create.

variable.expression

The variable expression that defines the variable.

Value

TRUE if the variable definition succeeded. Otherwise, the response from the server (including error messages) is returned.

Author(s)

David Barker <support@causata.com>

See Also

CausataConfig.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# The settings below are not for an actual server, 
# they are for illustration purposes only.
causata.config <- CausataConfig("server.causata.com","8002",
  "causatauser","Bg20qydd6*")

# the command below is commented out since it requires a live server to run
#result <- Config.CreatePrimaryVariable(causata.config, 
#  variable.name="online-has-page-view", 
#  variable.display.name="Online: Has Page View", 
#  variable.expression="INCLUDES page-view")

Causata documentation built on May 2, 2019, 3:26 a.m.