https://github.com/mhenderson/thomashardyr
An R package for Thomas Hardy's novels.
https://github.com/mhenderson/thomashardyr
corpus-data rstats rstats-package
Last synced: 3 months ago
JSON representation
An R package for Thomas Hardy's novels.
- Host: GitHub
- URL: https://github.com/mhenderson/thomashardyr
- Owner: MHenderson
- License: mit
- Created: 2016-04-23T09:11:37.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T07:15:02.000Z (about 2 years ago)
- Last Synced: 2025-03-18T01:12:13.871Z (about 1 year ago)
- Topics: corpus-data, rstats, rstats-package
- Language: R
- Homepage: https://mhenderson.r-universe.dev/thomashardyr
- Size: 3.4 MB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
[](https://travis-ci.org/MHenderson/thomashardyr)
[](https://zenodo.org/badge/latestdoi/56910697)
[](http://www.r-pkg.org/pkg/thomashardyr)
[](http://www.r-pkg.org/pkg/thomashardyr)

# 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](https://www.gutenberg.org/)
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](https://github.com/juliasilge/janeaustenr)
package.