collectFromYoutube: Collect youtube data

Description Usage Arguments Value

View source: R/studyCase.R

Description

This function collect data about a specific youtube element attached to videos and channels including activities, playlists, subscriptions, comments and video captions tracks then parse it and save it into an R dataframe and an excel spredsheet file.

Usage

1
collectFromYoutube(type, id, rootPath)

Arguments

type

element type to fetch ("activity","playlist","comment","subscription","caption")

id

a video id or a channel id, video id for ("caption","comment") and channel id for the rest

rootPath

path to save the generated results

Value

R dataframe representing the result node


Mdhaker/Rdatacollector documentation built on May 29, 2019, 2:05 p.m.