search_movies: Search for Movies

View source: R/search_movies.R

search_moviesR Documentation

Search for Movies

Description

This function searches for movies for which details have been stored. User can search in title, year, etc.

Usage

search_movies(
  title,
  year,
  genre,
  director,
  writer,
  actors,
  country,
  language,
  path = "."
)

Arguments

title

Terms to search for in title field.

year

Year(s) to search for in year field.

genre

Terms to search for in genres field.

director

Name(s) to search for in director field.

writer

Name(s) to search for in writer field.

actors

Name(s) to search for in actors field.

country

Country names to search for in country field.

language

Language name(s) to search for in language field.

path

The folder containing YAML files (or the root project).

Value

A data frame.

Examples

## Not run: 
search_movies(title = "Hotel")
search_movies(year = 2014:2016)
search_movies(actors = "Bill Murray")

## End(Not run)

inSileco/omdbr documentation built on Feb. 12, 2024, 9:34 a.m.