ytanalytics_top_videos: YouTube Analytics API Wrapper

Description Usage Arguments Value Examples

View source: R/ytanalytics_top_videos.R

Description

This function returns number of Views, Likes, Dislikes, and Comments on top videos (Can adjust date range and max results (from 1-200))

Usage

1
2
3
4
5
6
ytanalytics_top_videos(
  token = NULL,
  maxResults = 10,
  startDate = Sys.Date() - 30,
  endDate = Sys.Date()
)

Arguments

token

environment

maxResults

numeric

startDate

character string

endDate

character string

Value

df data.frame

Examples

1
ytanalytics_top_videos(token_var, 10, "2020-05-01", "2020-05-31")

davisj95/VideoR documentation built on June 26, 2020, 4:23 p.m.