Description Usage Value Examples
Returns a tidy data frame of Karel Capek's 6 completed, published novels with
two columns: text
, which contains the text of the novels,
and book
, which contains the titles of
the novels as a factor in order of publication.
1 |
A data frame with two columns: text
and book
1 2 3 4 5 | library(dplyr)
capek_books() %>%
group_by(book) %>%
summarise(total_lines = n())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.