Learn R Programming

imdbapi (version 0.1.0)

get_directors: Get directors from an omdb object as a vector

Description

Splits the field at commas and returns a vector of individual entries

Usage

get_directors(omdb)

Arguments

omdb

an object returned by find_by_title or find_by_id

Value

A character vector of directors

Examples

Run this code
# NOT RUN {
get_directors(find_by_id("tt0031381"))
# }

Run the code above in your browser using DataLab