Description Usage Arguments Methods (by class) See Also Examples
Create a Core Reporting API expression.
1 2 3 4 5 |
object |
A dimension or metric variable, or another object to be coerced
to an |
comparator |
The comparator to use for the expression. |
operand |
The operand to use for the expression. |
metricScope |
Optional scope to use in the case of metric variables for
segmentation. Possible values include |
object = character,comparator = character
: Return a Google Analytics expression using the supplied
variable, operator and operand.
bounces <- GaExpr("bounces", ">", 0)
Other expression generators: Expr
,
McfExpr
, RtExpr
1 2 3 | myQuery <- GaQuery(view = 123456789)
source_matches_google <- GaExpr("source", "~", "google")
TableFilter(myQuery) <- source_matches_google
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.