get_quote {dundermifflin}R Documentation

Get office quotes

Description

Randomly pull quotes from the office_quotes data frame

Usage

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

## 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)



[Package dundermifflin version 0.1.1 Index]