yt_analytics: Retrieve your YouTube Analytics reports.

Description Usage Arguments Details See Also

Description

Retrieve your YouTube Analytics reports.

Usage

1
2
3
yt_analytics(id, type = c("channel", "contentOwner"), start.date, end.date,
  metrics, currency = NULL, dimensions = NULL, filters = NULL,
  max.results = NULL, sort = NULL, start.index = NULL)

Arguments

id

Identifies the YouTube channel or content owner for which you are retrieving YouTube Analytics data

type

channel or contentOwner

start.date

The start date for fetching YouTube Analytics data

end.date

The end date for fetching YouTube Analytics data

metrics

A character vector of YouTube metrics, such as c("views","likes","dislikes")

currency

The currency to which financial metrics should be converted

dimensions

A comma-separated list of YouTube Analytics dimensions, such as views or ageGroup,gender

filters

A list of filters that should be applied when retrieving YouTube Analytics data

max.results

The maximum number of rows to include in the response

sort

A comma-separated list of dimensions or metrics that determine the sort order for YouTube Analytics data

start.index

An index of the first entity to retrieve

Details

Authentication scopes used by this function are:

Look up possible metrics and dimensions here: metric and dimension reference

See Also

Google Documentation


MarkEdmondson1234/youtubeAnalyticsR documentation built on May 7, 2019, 3:34 p.m.