Obtain a random passage from copyright-free literature using the Lit Ipsum API
Source:R/lipsum_literature.R
lipsum_literature.Rd
Choose passages from copyright-free literature courtesy of the Gutenberg Project.
Arguments
- n
Integer, optional. The number of paragraphs to generate. The default,
NULL
, generates one "page" of text from thesource
.- tag
Character, optional. One of "p" or "li", which renders the paragraphs with p or li tags, respectively.
- source
Character, optional. The book from which to take the placeholder text. One of adventures-sherlock-holmes, dr-jekyll-and-mr-hyde, dracula, evelina, life-of-samuel-johnson, picture-of-dorian-gray, pride-and-prejudice. The default,
NULL
, chooses one at random.
See also
Other whimsical generators:
lipsum_actor()
,
lipsum_bacon()
,
lipsum_dino()
,
lipsum_hipster()
,
lipsum_metaphor()
,
lipsum_rick()
,
lipsum_starwars()