Skip to contents

Returns channel views by day or month.

Usage

channel_time_period(
  period = "day",
  endDate = as.character(format(Sys.Date(), "%Y-%m-01")),
  ...
)

Arguments

period

Required. Time period to breakdown data by. Supported values are day and month

endDate

Required. String. Data returned up until the last day specified, so for monthly period the end date must end with a day of 01

...

Addt. arguments passed to analytics_request

Value

data.frame

Examples

if (FALSE) { # \dontrun{
channel_time_period()
} # }