Make a dimension object
dimension_ga4(vector, histogramBuckets = NULL)
A character vector of dimension names
Optional named list of histogram buckets vectors
a list suitable for parsing in req
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