hardy_books: Tidy data frame of 7 of Thomas Hardy's novels

View source: R/hardy_books.R

hardy_booksR Documentation

Tidy data frame of 7 of Thomas Hardy's novels

Description

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.

Usage

hardy_books()

Value

A data frame with two columns: text and book

Examples


library(dplyr)

hardy_books() %>% group_by(book) %>%
     summarise(total_lines = n())


MHenderson/thomashardyr documentation built on May 1, 2024, 9:13 a.m.