Learn R Programming

ganalytics (version 0.10.7)

RtQuery: RtQuery.

Description

Create a Real-Time reporting API query object

Usage

RtQuery(view = NA, creds = get_creds(), metrics = "rt:pageviews",
  dimensions = "rt:minutesAgo", sortBy = NULL, filters = NULL,
  maxResults = kGaMaxResults)

Arguments

view

view id to use

creds

authentication credentials object created using GoogleApiCreds()

metrics

character vector of metrics

dimensions

character vector of dimensions

sortBy

a .sortBy object

filters

a .tableFilter object

maxResults

the maximum number of results to return, up to 1,000,000