get_runtime: This function returns the runtime of Movies and TV shows...

Description Usage Arguments Value Examples

View source: R/get_runtime.R

Description

This function returns the runtime of Movies and TV shows based on search word(s) by user.

Usage

1
get_runtime(search_text = "", type = "")

Arguments

search_text

search text i.e., word(s) to look for in the Title.

type

expected type of the result can be - movie, series, episode, game

Value

A dataframe that contains the list of search results. Dataframe contains Title, Type, Year, and Runtime (in minutes).

Examples

1
2
get_runtime('Guardians')
get_runtime('Guardians Galaxy', type = 'movie')

naveen-chalasani/R.vengers documentation built on March 3, 2021, 3:34 p.m.