sample_books: Sample Book Downloads

sample_booksR Documentation

Sample Book Downloads

Description

A tibble of book text for two sample books, generated using gutenberg_download().

Usage

sample_books

Format

A tbl_df (from tibble::tibble()) with one row for each line of text from each book, with columns:

gutenberg_id

Unique identifier for the work that can be used to join with the gutenberg_metadata dataset.

text

A character vector of lines of text.

title

The title of this work.

author

The author of this work.

Details

This code was used to download the books: gutenberg_download(c(109, 105), meta_fields = c("title", "author"))


dgrtwo/gutenbergr documentation built on Jan. 12, 2025, 7:22 p.m.