all_works_df {bardr} | R Documentation |
Contents of Complete Works of William Shakespeare (dataframe)
Description
A dataframe containing the full text of all of the complete works of William Shakespeare, as provided by Project Gutenberg.
Usage
all_works_df
Format
A data frame with 166340 rows and 4 variables:
- name
short (or common) name of the work
- content
the full contents of the work. Each line is ~70 characters
- full_name
the complete name of the work, as listed
- genre
whether the work is poetry, history, comedy, or tragedy
Source
http://www.gutenberg.org/files/100/100-0.txt
Examples
works <- bardr::all_works_df
subset(works, works$genre == "History")
[Package bardr version 0.0.9 Index]