Learn R Programming

googleAnalyticsR (version 0.1.0)

order_type: Make an OrderType object

Description

Make an OrderType object

Usage

order_type(field, descending = FALSE, orderType = c("VALUE", "DELTA",
  "SMART", "HISTOGRAM_BUCKET", "DIMENSION_AS_INTEGER"))

Arguments

field
One field to sort by
descending
If the sorting should be descending or not
orderType
Type of ordering

Value

  • A order_type_ga4 object for use in GAv4 fetch

Details

For multiple order sorting, create seperate OrderType objects to pass