Description Usage Details Value Examples
View source: R/lds_scriptures.R
Returns a tidy data frame of the Standard Works of The Church of Jesus Christ
of Latter-day Saints (LDS) (King James Bible, Book of Mormon, Doctrine and
Covenants, and the Pearl of Great Price), 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.
1 |
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)
A data frame with 41995 rows and 19 columns
1 2 3 4 5 | library(dplyr)
lds_scriptures() %>%
group_by(volume_title, book_title) %>%
summarise(total_verses = n())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.