ytr_reports: List jobs

Description Usage Arguments See Also Examples

Description

List jobs

Usage

1
2
3
ytr_reports(token, start = Sys.Date() - 3, end = Sys.Date(),
  ids = "channel==MINE", metrics = c("views", "likes"),
  dimensions = NULL, ...)

Arguments

token

your token as returned by ytr_oauth.

start, end

Start and end date of class Date.

ids

Ids of chennels or users data to return.

metrics

Metrics to return, seedocs.

dimensions

A list or vector of YouTube Analytics dimensions, such as video or ageGroup, seedocs.

...

Any other parameter to pass to query.

See Also

official documentation

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
token <- ytr_oauth(
  "something.apps.googleusercontent.com",
  "xxXx0X0x0X0xXX0")

ytr <- ytr_reports(token) %>%
  ytr_parse()

## End(Not run)

JohnCoene/ytr documentation built on June 30, 2019, 12:33 a.m.