| kjv_bible {scriptuRs} | R Documentation |
Tidy data frame of the King James Version of the Bible
Description
Returns a tidy data frame of the King James Version of the Bible, with one
verse for every row. There are several columns, including: text, which
contains the text of each verse, book_title, the book of scripture,
chapter_number, the chapter, and verse_number, the verse
number. There are a dozen other columns as well: see "Details" for complete
descriptions.
Usage
kjv_bible()
Details
Importantly, none of the title columns are ordered factors. It is the responsibility of the user to create ordered factors of book and volume titles when plotting results.
Every row in the dataset is a verse, and there are 19 columns of metadata:
volume_idUnique id number for the volume (1 = Old Testament, 2 = New Testament, etc.)
book_idUnique id number for the book (1 = Genesis, 2 = Exodus, etc.)
chapter_idUnique id number for the chapter (50 = Genesis 50, 51 = Exodus 1, etc.)
verse_idUnique id number for the verse (31 = Genesis 1:31, 32 = Genesis 2:1)
volume_titleName of the volume
book_titleName of the book
volume_long_titleFull name of the volume
book_long_titleFull name of the book
volume_subtitleSubtitle of the volume
book_subtitleSubtitle of the book
volume_short_titleVolume abbreviation
book_short_titleBook abbreviation
volume_lds_urlVolume abbreviation used at scriptures.lds.org
book_lds_urlBook abbreviation used at scriptures.lds.org
chapter_numberChapter (not unique; Genesis 50 = 50, Exodus 1 = 1, etc.)
verse_numberVerse (not unique; Genesis 1:31 = 31, Genesis 2:1 = 1)
textScripture text
verse_titleCombined book, chapter, and verse (e.g. Genesis 1:1)
verse_short_titleAbbreviated combined book, chapter, and verse (e.g. Gen. 1:1)
Value
A data frame with 31102 rows and 19 columns
Examples
library(dplyr)
kjv_bible() %>%
group_by(volume_title, book_title) %>%
summarise(total_verses = n())