vvideo.demographics: Query the Analytics API and retrieve metrics for the given...

View source: R/videos.R

vvideo.demographicsR Documentation

Query the Analytics API and retrieve metrics for the given video ids

Description

Query the Analytics API and retrieve metrics for the given video ids

Usage

vvideo.demographics(video_ids, ...)

Arguments

video_ids

vector of YouTube video id strings

...

Arguments passed on to video.query

metrics

string of comma separated metric names to query

dimensions

string of comma separated dimenension names

filters

string of semi-colon separated filters to apply to the query

start_date

date string in 'YYYY-mm-dd' format

end_date

date string in 'YYYY-mm-dd' format

sort

string of comma separated list of dimensions to sort by. Prepend the dimension name with '-' to sort descending

ids

string of semi-colon separated id terms. i.e. 'channel==MINE'

Value

data.frame

See Also

video.query()


jalvarado/ytAnalyticsR documentation built on Oct. 17, 2022, 3:04 p.m.