Title: | Access to the Hebrew, Greek, and English Version of the Bible |
---|---|
Description: | Access to the Greek New Testament (27 books) and the Old Testament (39 books) and allow users to do textual analysis on the data. The New and Old Testament have been provided in their original languages, Greek and Hebrew, respectively. Additionally, the Revised American Standard Bible is also provided for users who'd rather use a word–for–word modern English translation. |
Authors: | JP Monteagudo [aut, cre, cph]
|
Maintainer: | JP Monteagudo <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.1.0 |
Built: | 2025-02-18 13:29:23 UTC |
Source: | CRAN |
A dataset containing information about the authors, books, sections, and languages of the Bible.
author_data
author_data
A data frame with 66 rows and 6 variables:
Character. Name of the author (e.g., "Moses").
Character. Name of the book(s) authored.
Character. Section of the Bible (e.g., "Law", "History").
Character. Approximate date of authorship (e.g., "c. 1445-1405 BC").
Character. Testament classification ("Old Testament" or "New Testament").
Character. Language in which the book was originally written (e.g., "Hebrew").
This dataset summarizes metadata about biblical authors, sections, and book classifications.
A dataset containing the text of the New Testament in Greek with book metadata. The Society of Biblical Literature, in keeping with its mission to foster biblical scholarship, is pleased to sponsor, in association with Logos Bible Software, a new, critically edited edition of the Greek New Testament.
new_testament
new_testament
A data frame with 7,939 rows and 5 variables:
Character. Name of the book (e.g., "1Cor").
Character. Chapter number.
Character. Verse number.
Character. Text of the verse in Greek.
Character. Greek name of the book.
This dataset provides the Greek text of the New Testament along with book and chapter metadata.
A dataset containing the text of the Old Testament in Hebrew with book metadata. The Unicode/XML Leningrad Codex (UXLC) is a transcription of the Leningrad Codex (LC) into a modern computer format (Unicode, XML). The UXLC text is a fork of the Groves Center's Westminster Leningrad Codex WLC 4.20, 2016
old_testament
old_testament
A data frame with 23,213 rows and 5 variables:
Character. Name of the book (e.g., "Amos").
Numeric. Chapter number.
Numeric. Verse number.
Character. Text of the verse in Hebrew.
Character. Hebrew name of the book.
This dataset provides the Hebrew text of the Old Testament along with book and chapter metadata.
peek()
provides a transposed view of your dataset: columns are displayed vertically, while the data for each column
is shown horizontally. This layout allows you to inspect all the columns of a data.frame
at a glance. It serves as a
convenient wrapper around utils::str()
, with the added benefit of invisibly returning the input object, making it
suitable for use in data pipelines.
peek(x, width = getOption("width"), ...)
peek(x, width = getOption("width"), ...)
x |
The object to be inspected. |
width |
|
... |
Additional arguments to pass to |
The input object x
, returned invisibly.
peek(mtcars)
peek(mtcars)
A public domain dataset containing the text of the Bible from the Revised American Standard Bible (RASB).
rasb_bible
rasb_bible
A data frame with 31,102 rows and 4 variables:
Character. Name of the book (e.g., "Gen").
Integer. Chapter number.
Integer. Verse number.
Character. Text of the verse.
This dataset provides the full English text of the Bible from the RASB translation.
This function retrieves text from a specified book and chapter, with optional filtering by verse, partitioning, and language selection.
retrieve_chapter( book, chapter = NULL, verse = NULL, fraction = NULL, part = NULL, language, testament )
retrieve_chapter( book, chapter = NULL, verse = NULL, fraction = NULL, part = NULL, language, testament )
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 |
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. |
A character vector containing the retrieved Bible text.
retrieve_chapter("Jud",chapter = 1, verse = 1, language = "English", testament = "new")
retrieve_chapter("Jud",chapter = 1, verse = 1, language = "English", testament = "new")
Retrieves a whole book(s), passage from a book or a portion of a book or chapter, based on specified criteria such as book, chapter, verse, or alternative selection using author, section, or date.
select_passage( book = NULL, chapter = NULL, verse = NULL, fraction = 1, part = 1, by = NULL, divider = NULL, language = "English", testament = NULL )
select_passage( book = NULL, chapter = NULL, verse = NULL, fraction = 1, part = 1, by = NULL, divider = NULL, language = "English", testament = NULL )
book |
A character vector specifying the book name(s) from which to select the passage.
Ignored if the |
chapter |
A numeric vector indicating the chapter(s) of the book. If selection by section, author or date is used, the chapter must be set to NULL. |
verse |
A numeric vector indicating the verse(s) within the chapter. |
fraction |
A numeric value (default |
part |
A numeric value specifying which part to return (must be between 1 and |
by |
An optional character string for alternative selection criteria. It should be one of
|
divider |
A character vector specifying the author, section or date range to be selected. |
language |
A character string indicating the language of the passage. Must be one of
|
testament |
A character string specifying the testament. Must be one of
|
This function validates the input parameters and determines the book(s) to be used based on the provided criteria.
If the by
argument is given, the function leverages helper functions such as by_author()
,
by_section()
, or by_date()
to select the appropriate book(s) based on the alternative criterion.
The passage is then retrieved via retrieve_chapter()
, applying verse filtering and partitioning based on
the fraction
and part
arguments.
Returns the selected passage as generated by the retrieve_chapter()
function.
# Example 1: Select a passage by specifying book, chapter, and verse. select_passage(book = "Genesis", chapter = 1, verse = 1, testament = "Old") select_passage(book = "Mat", chapter = 1, verse = 1:10, testament = "new")
# Example 1: Select a passage by specifying book, chapter, and verse. select_passage(book = "Genesis", chapter = 1, verse = 1, testament = "Old") select_passage(book = "Mat", chapter = 1, verse = 1:10, testament = "new")
A dataset containing the number of verses for each book in the Bible.
verses_by_book
verses_by_book
A data frame with 66 rows and 2 variables:
A character vector containing abbreviated book names (e.g., "1Chr", "1Cor", "1John", "1Kgs", "1Pet", "1Sam", "1Thess", "1Tim", etc.).
An integer vector representing the number of verses in each corresponding book.
This dataset provides a summary of the verse counts for each book of the Bible. It is useful for biblical studies, allowing for quick reference to the structure of the biblical texts and facilitating statistical analysis.