db_rgutenberg: Random Book from Project Gutenberg

Description Usage Details Value See Also Examples

Description

This function gets a random book from Project Gutenberg and returns and object of class 'book'.

Usage

1

Details

The function grabs a random book from Project Gutenberg. Too many queries in a short period of time will get you temporarily banned from their servers.

Any text downloaded in this way is subject to the Project Gutenberg license. See pg-license for details.

Value

Returns a 'book' class object.

See Also

book-class, pg-license

Examples

1
2
3
4
5
## Not run: 
library(rgutenberg, quietly=TRUE)
rgutenberg()

## End(Not run)

wrathematics/rgutenberg documentation built on May 4, 2019, 10:54 a.m.