Learn R Programming

tuber (version 0.2)

get_stats: Get statistics of a Video

Description

Get statistics of a Video

Usage

get_stats(video_id = NULL)

Arguments

video_id
Character. Id of the video. Required.

Value

  • list with 5 elements: viewCount, likeCount, dislikeCount, favoriteCount, commentCount

References

https://console.developers.google.com/project

Examples

Run this code
get_stats(video_id="N708P-A45D0")

Run the code above in your browser using DataLab