Learn R Programming

omdbapi (version 0.2.0.9000)

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

Run the code above in your browser using DataLab