retrieve_chapter: Retrieve a specific chapter or portion of a chapter from the...

View source: R/retrieve.R

retrieve_chapterR Documentation

Retrieve a specific chapter or portion of a chapter from the Bible

Description

This function retrieves text from a specified book and chapter, with optional filtering by verse, partitioning, and language selection.

Usage

retrieve_chapter(
  book,
  chapter = NULL,
  verse = NULL,
  fraction = NULL,
  part = NULL,
  language,
  testament
)

Arguments

book

A character string specifying the book of the Bible.

chapter

A numeric or character vector specifying the chapter(s) to retrieve.

verse

An optional numeric vector specifying specific verses to retrieve.

fraction

A numeric value indicating how many equal parts to divide the chapter into.

part

A numeric value specifying which part to return (must be between 1 and fraction).

language

A character string specifying the language of the Bible text. Options are "English", "Hebrew", or "Greek".

testament

A character string specifying whether to retrieve from the Old or New Testament.

Value

A character vector containing the retrieved Bible text.

Examples

retrieve_chapter("Jud",chapter = 1, verse = 1, language = "English", testament = "new")


logos documentation built on April 4, 2025, 4:42 a.m.