ganalytics (version 0.10.7)

.query-class: .query class.

Description

An S4 class to represent a generalised reporting API query.

Arguments

Slots

viewId

The view ID of the query, as a viewId object

metrics

The metrics to query, an object belonging to the .metrics superclass.

dimensions

The dimensions of the query, an object belonging to the .dimensions superclass.

sortBy

The order and direction of metrics/dimensions to sort by, an object belonging to the .sortBy superclass.

filters

Dimension or metrics conditions to filter the rows by, an object belonging to the .tableFilter superclass.

maxResults

An interger giving the maximum number of rows to return.

creds

The API credentials to use for the query.