Package 'dhlawrencer'

Title: An R Package for D. H. Lawrence's Novels
Description: This package provides access to the full texts of 6 of D. H. Lawrence's novels.
Authors: Matthew Henderson
Maintainer: Matthew Henderson <[email protected]>
License: MIT + file LICENSE
Version: 0.1.1
Built: 2024-08-27 04:21:33 UTC
Source: https://github.com/MHenderson/dhlawrencer

Help Index


The text of D. H. Lawrence's novel "Aaron's Rod"

Description

A dataset containing the text of D. H. Lawrence's 1922 novel "Aaron's Rod". 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.)

Usage

aaronsrod

Format

A character vector with 13402 elements

Source

http://www.gutenberg.org/ebooks/4520


D. H. Lawrence's Novels

Description

This package contains the complete text of D. H. Lawrence's novels.


Tidy data frame of 6 of D. H. Lawrence's novels

Description

Returns a tidy data frame of 6 of D. H. Lawrence'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

lawrence_books()

Value

A data frame with two columns: text and book

Examples

library(dplyr)

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

The text of D. H. Lawrence's novel "The Lost Girl"

Description

A dataset containing the text of D. H. Lawrence's 1920 novel "The Lost Girl". 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.)

Usage

lostgirl

Format

A character vector with 15742 elements

Source

http://www.gutenberg.org/ebooks/23727


The text of D. H. Lawrence's novel "The White Peacock"

Description

A dataset containing the text of D. H. Lawrence's 1911 novel "The White Peacock". 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.)

Usage

peacock

Format

A character vector with 14626 elements

Source

http://www.gutenberg.org/ebooks/38561


The text of D. H. Lawrence's novel "The Rainbow"

Description

A dataset containing the text of D. H. Lawrence's 1915 novel "The Rainbow". 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.)

Usage

rainbow

Format

A character vector with 20962 elements

Source

http://www.gutenberg.org/ebooks/28948


The text of D. H. Lawrence's novel "Sons and Lovers"

Description

A dataset containing the text of D. H. Lawrence's novel "Sons and Lovers" published in 1913. 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.)

Usage

sonsandlovers

Format

A character vector with 18214 elements

Source

http://www.gutenberg.org/ebooks/217


The text of D. H. Lawrence's novel "Women in Love"

Description

A dataset containing the text of D. H. Lawrence's novel "Women in Love", published in 1920. 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.)

Usage

womeninlove

Format

A character vector with 20157 elements

Source

http://www.gutenberg.org/ebooks/4240