get_genres: Get genres from an omdb object as a vector

Description Usage Arguments Value Examples

View source: R/gets.R

Description

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

Usage

1
get_genres(omdb)

Arguments

omdb

an object returned by find_by_title or find_by_id

Value

A character vector of genres

Examples

1
get_genres(find_by_id("tt0031381"))

hrbrmstr/omdbapi documentation built on June 5, 2017, 3:05 p.m.