people_media: Get a single person's movie or show credits

View source: R/people_media.R

people_mediaR Documentation

Get a single person's movie or show credits

Description

Returns all movies or shows where this person is in the cast or crew.

Usage

people_movies(id, extended = c("min", "full"))

people_shows(id, extended = c("min", "full"))

Arguments

id

character(1): The ID of the item requested. Preferably the trakt ID (e.g. 1429). Other options are the trakt.tv slug (e.g. "the-wire") or imdb ID (e.g. "tt0306414"). Can also be of length greater than 1, in which case the function is called on all id values separately and the result is combined. See vignette("finding-things") for more details.

extended

character(1): Either "min" (API default) or "full". The latter returns more variables and should generally only be used if required. See vignette("finding-things") for more details.

Details

Note that as of 2019-09-30, there are two representations of character[s] and job[s]: One is a regular character variable, and the other is a list-column. The singular is deprecated and only included for compatibility reasons.

Value

A list of one or more tibbles for cast and crew. The latter tibble objects are as flat as possible.

Source

people_movies() wraps endpoint people/:id/movies.

people_shows() wraps endpoint people/:id/shows.

See Also

media_people, for the other direction: Media that has people.

Other movie data: anticipated_media, collected_media, media_aliases, media_comments, media_lists, media_people, media_ratings(), media_stats(), media_translations, media_watching, movies_boxoffice(), movies_related(), movies_releases(), movies_summary(), played_media, popular_media, trending_media, watched_media

Other people data: media_lists, media_people, people_summary()

Other show data: collected_media, media_aliases, media_comments, media_lists, media_people, media_ratings(), media_stats(), media_translations, media_watching, played_media, shows_next_episode(), shows_related(), shows_summary()

Other people data: media_lists, media_people, people_summary()

Examples

## Not run: 
people_movies("christopher-nolan")

people_shows("kit-harington")

## End(Not run)

jemus42/tRakt documentation built on April 19, 2024, 3:25 a.m.