episodes: Information about episodes in a season (or seasons) of Star...

Description Usage Arguments Value Author(s) Examples

View source: R/memalpha.R

Description

Handily get all the episodes in a season (plus extra info) or all the episodes in a given season of Star Trek.

Usage

1
episodes(show = c("TOS", "TNG", "DS9", "VOY", "ENT"), seasons = "all")

Arguments

show

a valid identifier for a show

seasons

which season (or seasons) should be included. Overflow will cover all seasons of a show, with no error. Default to "all", which shows all seasons.

Value

a (list of) data.frame(s) of episodes, season per list item/data.frame, one episode per row.

Author(s)

David L. Miller

Examples

1
2
3
4
# get episodes for season 5 of Deep Space 9
episodes("DS9",5)
# get episodes for seasons 2 and 3 of the Original Series
episodes("TOS", 2:3)

karawoo/staRtrek documentation built on May 20, 2019, 7:21 a.m.