Learn R Programming

imdbapi (version 0.1.0)

get_countries: Get countries from an omdb object as a vector

Description

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

Usage

get_countries(omdb)

Arguments

omdb

an object returned by find_by_title or find_by_id

Value

A character vector of countries

Examples

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

Run the code above in your browser using DataLab