R/ga_v4_objects.R
order_type.Rd
Make an OrderType object
order_type( field, sort_order = c("ASCENDING", "DESCENDING"), orderType = c("VALUE", "DELTA", "SMART", "HISTOGRAM_BUCKET", "DIMENSION_AS_INTEGER") )
One field to sort by
ASCENDING or DESCENDING
Type of ordering
A order_type_ga4 object for use in GAv4 fetch
For multiple order sorting, create separate OrderType objects to pass