Calculates multiple API calls to avoid sampling
anti_sample(anti_sample_batches, viewId, date_range, metrics, dimensions,
dim_filters, met_filters, filtersExpression, order, segments, pivots, cohorts,
metricFormat, histogramBuckets, slow_fetch)
"auto" default, or set to number of days per batch. 1 = daily.
viewId of data to get.
character or date vector of format c(start, end)
or
for two date ranges: c(start1,end1,start2,end2)
Metric to fetch. Supports calculated metrics.
Dimensions to fetch.
A filter_clause_ga4 wrapping dim_filter
A filter_clause_ga4 wrapping met_filter
A v3 API style simple filter string. Not used with other filters.
An order_type object
List of segments as created by segment_ga4
Pivots of the data as created by pivot_ga4
Cohorts created by make_cohort_group
If supplying calculated metrics, specify the metric type
For numeric dimensions such as hour, a list of buckets of data. See details in make_ga_4_req
For large results this slows down the API requests to avoid 500 errors