Title: | An R Package for Thomas Hardy's Novels |
---|---|
Description: | This package provides access to the full texts of 6 of Thomas Hardy's novels. |
Authors: | Matthew Henderson [aut, cre] |
Maintainer: | Matthew Henderson <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.2.1 |
Built: | 2024-10-26 04:10:22 UTC |
Source: | https://github.com/MHenderson/thomashardyr |
A dataset containing the text of Thomas Hardy's novel "Under the Greenwood Tree", published in 1872. The UTF-8 plain text was sourced from Project Gutenberg and is divided into elements of up to about 70 characters each. (Some elements are blank.)
greenwood
greenwood
A character vector with 7003 elements
http://www.gutenberg.org/ebooks/2662
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()
hardy_books()
A data frame with two columns: text
and book
library(dplyr) hardy_books() %>% group_by(book) %>% summarise(total_lines = n())
library(dplyr) hardy_books() %>% group_by(book) %>% summarise(total_lines = n())
A dataset containing the text of Thomas Hardy's novel "Jude the Obscure", published in 1895. The UTF-8 plain text was sourced from Project Gutenberg and is divided into elements of up to about 70 characters each. (Some elements are blank.)
jude
jude
A character vector with 15848 elements
http://www.gutenberg.org/ebooks/153
A dataset containing the text of Thomas Hardy's 1874 novel "Far from the Madding Crowd". The UTF-8 plain text was sourced from Project Gutenberg and is divided into elements of up to about 70 characters each. (Some elements are blank.)
maddingcrowd
maddingcrowd
A character vector with 16293 elements
http://www.gutenberg.org/ebooks/27
A dataset containing the text of Thomas Hardy's 1886 novel "The Mayor of Casterbridge". The UTF-8 plain text was sourced from Project Gutenberg and is divided into elements of up to about 70 characters each. (Some elements are blank.)
mayor
mayor
A character vector with 12464 elements
http://www.gutenberg.org/ebooks/143
A dataset containing the text of Thomas Hardy's 1878 novel "The Return of the Native". The UTF-8 plain text was sourced from Project Gutenberg and is divided into elements of up to about 70 characters each. (Some elements are blank.)
native
native
A character vector with 15021 elements
http://www.gutenberg.org/ebooks/122
A dataset containing the text of Thomas Hardy's novel "Tess of the D'Urbervilles" published in 1891. The UTF-8 plain text was sourced from Project Gutenberg and is divided into elements of up to about 70 characters each. (Some elements are blank.)
tess
tess
A character vector with 16091 elements
http://www.gutenberg.org/ebooks/110
This package contains the complete text of Thomas Hardy's novels.
Maintainer: Matthew Henderson [email protected]
Useful links:
Report bugs at https://github.com/MHenderson/thomashardyr/issues
A dataset containing the text of Thomas Hardy's 1887 novel "The Woodlanders". The UTF-8 plain text was sourced from Project Gutenberg and is divided into elements of up to about 70 characters each. (Some elements are blank.)
woodlanders
woodlanders
A character vector with 14095 elements
http://www.gutenberg.org/ebooks/482