Type: | Package |
Title: | Complete Text of the LDS Scriptures |
Version: | 0.1.0 |
Description: | Full text, in data frames containing one row per verse, of the Standard Works of The Church of Jesus Christ of Latter-day Saints (LDS). These are the Old Testament, (KJV), the New Testament (KJV), the Book of Mormon, the Doctrine and Covenants, and the Pearl of Great Price. |
URL: | https://github.com/andrewheiss/scriptuRs |
BugReports: | https://github.com/andrewheiss/scriptuRs/issues |
Depends: | R (≥ 3.0.0) |
Suggests: | dplyr, testthat |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
LazyData: | true |
RoxygenNote: | 6.1.1 |
NeedsCompilation: | no |
Packaged: | 2019-01-04 16:33:51 UTC; andrew |
Author: | Andrew Heiss [aut, cre] |
Maintainer: | Andrew Heiss <andrew@andrewheiss.com> |
Repository: | CRAN |
Date/Publication: | 2019-01-09 17:20:03 UTC |
The Standard Works of The Church of Jesus Christ of Latter-day Saints
Description
This package contains the complete text of the Standard Works of The Church of Jesus Christ of Latter-day Saints (LDS), including the King James Bible (Old and New Testaments), the Book of Mormon, the Doctrine and Covenants, and the Pearl of Great Price, formatted to be convenient for text analysis.
The text of the Book of Mormon
Description
A dataset containing the text of the Book of Mormon.
Usage
book_of_mormon
Format
A data frame with 6604 rows and 19 columns:
volume_id
Unique id number for the volume
book_id
Unique id number for the book
chapter_id
Unique id number for the chapter
verse_id
Unique id number for the verse
volume_title
Name of the volume
book_title
Name of the book
volume_long_title
Full name of the volume
book_long_title
Full name of the book
volume_subtitle
Subtitle of the volume
book_subtitle
Subtitle of the book
volume_short_title
Volume abbreviation
book_short_title
Book abbreviation
volume_lds_url
Volume abbreviation used at scriptures.lds.org
book_lds_url
Book abbreviation used at scriptures.lds.org
chapter_number
Chapter
verse_number
Verse
text
Scripture text
verse_title
Combined book, chapter, and verse (e.g. 1 Nephi 1:1)
verse_short_title
Abbreviated combined book, chapter, and verse (e.g. 1 Ne. 1:1)
Details
Excludes the following:
Book of Mormon: Title Page (written by Moroni)
Introduction
The Testimony of the Three Witnesses
The Testimony of Eight Witnesses
Testimony of the Prophet Joseph Smith
A Brief Explanation About the Book of Mormon
Source
The text of the Doctrine and Covenants
Description
A dataset containing the text of the Doctrine and Covenants.
Usage
doctrine_and_covenants
Format
A data frame with 3654 rows and 19 columns:
volume_id
Unique id number for the volume
book_id
Unique id number for the book
chapter_id
Unique id number for the chapter
verse_id
Unique id number for the verse
volume_title
Name of the volume
book_title
Name of the book
volume_long_title
Full name of the volume
book_long_title
Full name of the book
volume_subtitle
Subtitle of the volume
book_subtitle
Subtitle of the book
volume_short_title
Volume abbreviation
book_short_title
Book abbreviation
volume_lds_url
Volume abbreviation used at scriptures.lds.org
book_lds_url
Book abbreviation used at scriptures.lds.org
chapter_number
Chapter
verse_number
Verse
text
Scripture text
verse_title
Combined book, chapter, and verse (e.g. Doctrine and Covenants 1:1)
verse_short_title
Abbreviated combined book, chapter, and verse (e.g. D&C 1:1)
Details
Excludes the following:
Official Declaration 1
Official Declaration 2
Source
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_id
Unique id number for the volume (1 = Old Testament, 2 = New Testament, etc.)
book_id
Unique id number for the book (1 = Genesis, 2 = Exodus, etc.)
chapter_id
Unique id number for the chapter (50 = Genesis 50, 51 = Exodus 1, etc.)
verse_id
Unique id number for the verse (31 = Genesis 1:31, 32 = Genesis 2:1)
volume_title
Name of the volume
book_title
Name of the book
volume_long_title
Full name of the volume
book_long_title
Full name of the book
volume_subtitle
Subtitle of the volume
book_subtitle
Subtitle of the book
volume_short_title
Volume abbreviation
book_short_title
Book abbreviation
volume_lds_url
Volume abbreviation used at scriptures.lds.org
book_lds_url
Book abbreviation used at scriptures.lds.org
chapter_number
Chapter (not unique; Genesis 50 = 50, Exodus 1 = 1, etc.)
verse_number
Verse (not unique; Genesis 1:31 = 31, Genesis 2:1 = 1)
text
Scripture text
verse_title
Combined book, chapter, and verse (e.g. Genesis 1:1)
verse_short_title
Abbreviated 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())
Tidy data frame of the LDS scriptures
Description
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.
Usage
lds_scriptures()
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_id
Unique id number for the volume (1 = Old Testament, 2 = New Testament, etc.)
book_id
Unique id number for the book (1 = Genesis, 2 = Exodus, etc.)
chapter_id
Unique id number for the chapter (50 = Genesis 50, 51 = Exodus 1, etc.)
verse_id
Unique id number for the verse (31 = Genesis 1:31, 32 = Genesis 2:1)
volume_title
Name of the volume
book_title
Name of the book
volume_long_title
Full name of the volume
book_long_title
Full name of the book
volume_subtitle
Subtitle of the volume
book_subtitle
Subtitle of the book
volume_short_title
Volume abbreviation
book_short_title
Book abbreviation
volume_lds_url
Volume abbreviation used at scriptures.lds.org
book_lds_url
Book abbreviation used at scriptures.lds.org
chapter_number
Chapter (not unique; Genesis 50 = 50, Exodus 1 = 1, etc.)
verse_number
Verse (not unique; Genesis 1:31 = 31, Genesis 2:1 = 1)
text
Scripture text
verse_title
Combined book, chapter, and verse (e.g. Genesis 1:1)
verse_short_title
Abbreviated combined book, chapter, and verse (e.g. Gen. 1:1)
Value
A data frame with 41995 rows and 19 columns
Examples
library(dplyr)
lds_scriptures() %>%
group_by(volume_title, book_title) %>%
summarise(total_verses = n())
The text of the New Testament (King James Version)
Description
A dataset containing the text of the King James Version of the New Testament.
Usage
new_testament
Format
A data frame with 7957 rows and 19 columns:
volume_id
Unique id number for the volume
book_id
Unique id number for the book
chapter_id
Unique id number for the chapter
verse_id
Unique id number for the verse
volume_title
Name of the volume
book_title
Name of the book
volume_long_title
Full name of the volume
book_long_title
Full name of the book
volume_subtitle
Subtitle of the volume
book_subtitle
Subtitle of the book
volume_short_title
Volume abbreviation
book_short_title
Book abbreviation
volume_lds_url
Volume abbreviation used at scriptures.lds.org
book_lds_url
Book abbreviation used at scriptures.lds.org
chapter_number
Chapter
verse_number
Verse
text
Scripture text
verse_title
Combined book, chapter, and verse (e.g. Matthew 1:1)
verse_short_title
Abbreviated combined book, chapter, and verse (e.g. Matt. 1:1)
Source
The text of the Old Testament (King James Version)
Description
A dataset containing the text of the King James Version of the Old Testament.
Usage
old_testament
Format
A data frame with 23145 rows and 19 columns:
volume_id
Unique id number for the volume
book_id
Unique id number for the book
chapter_id
Unique id number for the chapter
verse_id
Unique id number for the verse
volume_title
Name of the volume
book_title
Name of the book
volume_long_title
Full name of the volume
book_long_title
Full name of the book
volume_subtitle
Subtitle of the volume
book_subtitle
Subtitle of the book
volume_short_title
Volume abbreviation
book_short_title
Book abbreviation
volume_lds_url
Volume abbreviation used at scriptures.lds.org
book_lds_url
Book abbreviation used at scriptures.lds.org
chapter_number
Chapter
verse_number
Verse
text
Scripture text
verse_title
Combined book, chapter, and verse (e.g. Genesis 1:1)
verse_short_title
Abbreviated combined book, chapter, and verse (e.g. Gen. 1:1)
Details
Excludes the following:
Epistle Dedicatory
Source
The text of the Pearl of Great Price
Description
A dataset containing the text of the Pearl of Great Price.
Usage
pearl_of_great_price
Format
A data frame with 635 rows and 19 columns:
volume_id
Unique id number for the volume
book_id
Unique id number for the book
chapter_id
Unique id number for the chapter
verse_id
Unique id number for the verse
volume_title
Name of the volume
book_title
Name of the book
volume_long_title
Full name of the volume
book_long_title
Full name of the book
volume_subtitle
Subtitle of the volume
book_subtitle
Subtitle of the book
volume_short_title
Volume abbreviation
book_short_title
Book abbreviation
volume_lds_url
Volume abbreviation used at scriptures.lds.org
book_lds_url
Book abbreviation used at scriptures.lds.org
chapter_number
Chapter
verse_number
Verse
text
Scripture text
verse_title
Combined book, chapter, and verse (e.g. Abraham 1:1)
verse_short_title
Abbreviated combined book, chapter, and verse (e.g. Abr. 1:1)
Details
Excludes the following:
Introductory Note
Oliver Cowdery's account