SplitQueryDaywise: This function breaks up the time range (as specified by Start...

Description Usage Arguments Value See Also

Description

This function breaks up the time range (as specified by Start Date and End Date) into single days and hits a query for each day. The responses for each queries are collated into a single dataframe and returned. This procedure helps decrease the effect of sampling.

Usage

1
SplitQueryDaywise(query.builder, token, delay)

Arguments

query.builder

Name of the object corresponding to the QueryBuilder class

token

Token Object created by the Auth() function

delay

Time delay in seconds between successive queries in order to avoid Rate Limit Error

Value

list containing the Column Headers and the Collated dataframe that represents the query response

See Also

https://developers.google.com/analytics/devguides/reporting/core/v2/gdataReferenceDataFeed#largeDataResults


Tatvic/RGoogleAnalytics documentation built on May 9, 2019, 4:20 p.m.