get_daily_performance: Get daily performance time series

View source: R/report_helpers.R

get_daily_performanceR Documentation

Get daily performance time series

Description

Retrieves day-by-day performance metrics for trend analysis.

Usage

get_daily_performance(
  date_range,
  end_date = NULL,
  ids = "channel==MINE",
  metrics = c("views", "estimatedMinutesWatched"),
  ...
)

Arguments

date_range

Date range string or start date

end_date

End date (only needed if date_range is a specific start date)

ids

Channel identifier (default: "channel==MINE")

metrics

Vector of metrics to include (default: views, estimatedMinutesWatched)

...

Additional arguments passed to get_report()

Value

API response with daily time series data

Examples

## Not run: 
# Daily views for last 30 days
get_daily_performance("last_30_days")

# Daily performance with engagement metrics
get_daily_performance("this_month", metrics = c("views", "likes", "comments", "shares"))

## End(Not run)

tubern documentation built on April 12, 2026, 5:07 p.m.