Skip to content

MHenderson/thomashardyr

Repository files navigation

Build Status DOI CRAN RStudio mirror downloads

thomashardyr

An R Package for Thomas Hardy's Novels

This package provides access to the full texts of 7 of Thomas Hardy's novels.

The UTF-8 plain text for each novel was sourced from Project Gutenberg

The package contains:

  • greenwood - Under the Greenwood Tree, published in 1872
  • maddingcrowd - Far From The Madding Crowd, published in 1874
  • native - The Return of the Native, published in 1878
  • mayor - The Mayor of Casterbridge, published in 1886
  • woodlanders - The Woodlanders, published in 1887
  • tess - Tess of the D'Urbervilles, published in 1891
  • jude - Jude the Obscure, also published in 1895

There is also a function hardy_books() that returns a tidy data frame of all 7 novels.

This package is based on Julia Silge's janeaustenr package.