Learn R Programming

ganalytics (version 0.10.7)

GetGaData,.query-method: GetGaData Execute a ganalytics query.

Description

GetGaData Execute a ganalytics query.

Usage

# S4 method for .query
GetGaData(query, creds = NULL, .progress = "time",
  addViewId = FALSE, addSegmentId = FALSE)

Arguments

query

the query to execute.

creds

the Google APIs Project OAuth 2.0 credentials to use.

.progress

progress bar to display. use .progress = "none" to turn off.

addViewId

logical value indicating whether to add a viewID column for when more than one view has been provided.

addSegmentId

logical value indicating whether to add the name of the segment for when more than one segment has been queried.

Value

a tibble