Learn R Programming

omdbapi (version 0.2.0.9000)

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
get_directors(find_by_id("tt0031381"))

Run the code above in your browser using DataLab