get_top_videos: Makes data frame of most currently popular YouTube videos

Description Usage Arguments Value

View source: R/get_top_videos.R

Description

Makes data frame of most currently popular YouTube videos

Usage

1
get_top_videos(key, region = "US", category = 0, n = 10, simple = T)

Arguments

key

Your YouTube API key

region

Region. Default is "US". Run get_region_list() to see list of YouTube cntent regions.

category

Video category. Default is 0 (no category, top videos overall). Run get_category_list() to see list of YouTube content categories.

n

Number of top videos to return. Default is 10. Can be between 1 and 200.

simple

Returns a simplified data frame if TRUE (default). Returns all data from API if FALSE.

Value

A data frame of the most currently popular videos on YouTube


rnevils/rpackage documentation built on May 12, 2020, 1:07 a.m.