Learn R Programming

YTAnalytics (version 0.2.1)

video_cities: Video City Data

Description

Returns top cities by views. Data is only available after January 1, 2022.

Usage

video_cities(videoId = NULL, ...)

Value

data.frame

Arguments

videoId

Required. String. Id of YouTube video.

...

Addt. arguments passed to analytics_request

Examples

Run this code
if (FALSE) {
video_cities(videoId = "dQw4w9WgXcQ")
} 

Run the code above in your browser using DataLab