https://github.com/mhenderson/dhlawrencer
An R package for D. H. Lawrence's novels.
https://github.com/mhenderson/dhlawrencer
corpus-data english-literature rstats rstats-package
Last synced: 6 months ago
JSON representation
An R package for D. H. Lawrence's novels.
- Host: GitHub
- URL: https://github.com/mhenderson/dhlawrencer
- Owner: MHenderson
- License: mit
- Created: 2016-04-27T17:19:10.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T07:59:34.000Z (about 2 years ago)
- Last Synced: 2025-01-16T05:12:33.554Z (over 1 year ago)
- Topics: corpus-data, english-literature, rstats, rstats-package
- Language: R
- Homepage: https://mhenderson.r-universe.dev/dhlawrencer
- Size: 2.89 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```
[](https://travis-ci.org/MHenderson/dhlawrencer)
[](https://zenodo.org/badge/latestdoi/57232065)

# dhlawrencer
## An R Package for D. H. Lawrence's Novels
This package provides access to the full texts of 6 of D. H. Lawrence's novels.
The UTF-8 plain text for each novel was sourced from
[Project Gutenberg](https://www.gutenberg.org/)
The package contains:
* `peacock`: *The White Peacock*, published in 1911
* `sonsandlovers`: *Sons and Lovers*, published in 1913
* `rainbow`: *The Rainbow*, published in 1915
* `womeninlove`: *Women in Love*, published in 1920
* `lostgirl`: *The Lost Girl*, published in 1920
* `aaronsrod`: *Aaron's Rod*, also published in 1922
There is also a function `lawrence_books()` that returns a tidy data frame of all 6 novels.
This package is based on Julia Silge's [janeaustenr](https://github.com/juliasilge/janeaustenr)
package.
## Installation
You can install dhlawrencer from github with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("MHenderson/dhlawrencer")
```