Description Usage Arguments Value Examples
Unvectorized function. Used as a building block for get_chapters and get_books.
1 | get_chapter(book, chapter = NA)
|
book |
name of book |
chapter |
name or number of chapter in book |
Returns a dataframe with 4 columns: text, book, chapter name in English, & chapter name in Chinese. In the case for the dao-de-jing, chapter param not needed. If you reach the API call limit or the connection has an error, function will retry 3 times. If still unsuccessful, an NA value will be returned in the "text" column.
1 2 3 | get_chapter("analects", "xue-er")
get_chapter("analects", 1)
get_chapter("dao-de-jing")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.