An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

---
output: github_document
---

[![Build Status](https://travis-ci.org/MHenderson/thomashardyr.svg?branch=master)](https://travis-ci.org/MHenderson/thomashardyr)
[![DOI](https://zenodo.org/badge/56910697.svg)](https://zenodo.org/badge/latestdoi/56910697)
[![](http://www.r-pkg.org/badges/version/thomashardyr)](http://www.r-pkg.org/pkg/thomashardyr)
[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/thomashardyr)](http://www.r-pkg.org/pkg/thomashardyr)

![](hardy.jpg)

# 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.