order_type: Make an OrderType object

View source: R/ga_v4_objects.R

order_typeR Documentation

Make an OrderType object

Description

Make an OrderType object

Usage

order_type(
  field,
  sort_order = c("ASCENDING", "DESCENDING"),
  orderType = c("VALUE", "DELTA", "SMART", "HISTOGRAM_BUCKET", "DIMENSION_AS_INTEGER")
)

Arguments

field

One field to sort by

sort_order

ASCENDING or DESCENDING

orderType

Type of ordering

Details

For multiple order sorting, create separate OrderType objects to pass

Value

A order_type_ga4 object for use in GAv4 fetch


googleAnalyticsR documentation built on Sept. 11, 2024, 8:15 p.m.