The text of 29 Oz books: the 14 written by L. Frank Baum (1900–1920), and 15 of those written by Ruth Plumly Thompson (1921–1939). Each row is a paragraph. Front matter, chapter headings and titles, illustration captions and back matter have been removed, and curly quotes replaced by straight quotes. The data are downloaded and returned.
Format
A data frame with 31,258 rows and 7 columns:
- title
Title of the book
- author
Author of the book
- year
Year of first publication
- gutenberg_id
Project Gutenberg ebook number
- chapter
Chapter number
- paragraph
Paragraph number within the book
- text
Text of the paragraph
Source
Project Gutenberg, https://www.gutenberg.org. Downloaded 9 October 2026.
Details
The Royal Book of Oz (1921) was credited to Baum, who had died in 1919, but was written by Thompson. The Magic of Oz (1919) and Glinda of Oz (1920) were published after Baum's death. Thompson's Oz books from 1931 to 1934 are not included as they are not available from Project Gutenberg.
References
Hyndman, R J (2026) "That's weird: Anomaly detection using R", Chapter 11, https://OTexts.com/weird/text.html.