Learn R Programming

ganalytics (version 0.10.7)

RtExpr: RtExpr

Description

Create a Real-Time Reporting API expression.

Usage

RtExpr(object, comparator, operand)

# S4 method for character,character RtExpr(object, comparator, operand)

Arguments

object

A dimension or metric variable, or another object to be coerced to an .expr object.

comparator

The comparator to use for the expression.

operand

The operand to use for the expression.

Methods (by class)

  • object = character,comparator = character: Define a Real-Time Reporting condition using the arguments describing the variable, comparator and operand.

See Also

Other expression generators: Expr, GaExpr, McfExpr

Examples

Run this code
# NOT RUN {
myQuery <- RtQuery(view = 123456789)
source_matches_google <- RtExpr("rt:source", "~", "google")
TableFilter(myQuery) <- source_matches_google

# }

Run the code above in your browser using DataLab