dimension_ga4: Make a dimension object

Description Usage Arguments Value histograms

View source: R/ga_v4_objects.R

Description

Make a dimension object

Usage

1
dimension_ga4(vector, histogramBuckets = NULL)

Arguments

vector

A character vector of dimension names

histogramBuckets

Optional named list of histogram buckets vectors

Value

a list suitable for parsing in req

histograms

If supplying histogramBuckets, the name will be used to create the buckets

e.g. dimensions = c("source", "medium") histogramBuckets = list(source = c(1,5,10,20,200), medium = c(0,7,14,21,999))

Warning: only makes sense to apply to dimensions that are numeric e.g. ga:hour


MarkEdmondson1234/googleAnalyticsR_public documentation built on Oct. 22, 2020, 4:04 a.m.