get_quote: Get office quotes

Description Usage Arguments Examples

View source: R/get-quotes.R

Description

Randomly pull quotes from the office_quotes data frame

Usage

1
get_quote(..., force_print = FALSE, idx = FALSE)

Arguments

...

arguments to pass to filter_quotes

force_print

a logical speicfying whether you want the quote to print even if it is assigned to a variable name

idx

logical specifying whether the quote index should be printed with the quote

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
  get_quote()

  # return quote with index
  get_quote(idx = TRUE)

  # get quotes using various filters
  get_quote(season = 1)
  get_quote(season = 4, episode = 3)
  get_quote(season = 4, character = "Jim")

## End(Not run)

tbradley1013/dundermifflin documentation built on Feb. 29, 2020, 10:30 a.m.