hardy_books | R Documentation |
Returns a tidy data frame of 7 of Thomas Hardy's completed, published novels with
two columns: text
, which contains the text of the novels divided into
elements of up to about 70 characters each, and book
, which contains the titles of
the novels as a factor in order of publication.
hardy_books()
A data frame with two columns: text
and book
library(dplyr)
hardy_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.