Package 'quRan'

Title: Complete Text of the Qur'an
Description: Full text, in data frames containing one row per verse, of the Qur'an in Arabic (with and without vowels) and in English (the Yusuf Ali and Saheeh International translations), formatted to be convenient for text analysis.
Authors: Andrew Heiss [aut, cre]
Maintainer: Andrew Heiss <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2024-10-25 05:47:47 UTC
Source: https://github.com/andrewheiss/quran

Help Index


The Qur'an

Description

This package contains the complete text of the Qur'an in Arabic (with and without vowels) and in English (the Yusuf Ali and Saheeh International translations), formatted to be convenient for text analysis.


The text of the Qur'an (Arabic, all vowels)

Description

A dataset containing the Arabic text of the Qur'an, with vowels.

Usage

quran_ar

Format

A data frame with 6236 rows and 18 columns:

surah_id

Unique id number for the surah

ayah_id

Unique id number for the ayah

surah_title_ar

Name of the surah (Arabic)

surah_title_en

Name of the surah (English; transliterated)

surah_title_en_trans

Name of the surah (English; translated)

revelation_type

Type of the surah (Meccan or Medinan)

text

Ayah text

surah

Surah

ayah

Ayah

ayah_title

Combined surah and ayah (e.g. 2:242)

juz

Juz'

manzil

Manzil

page

Page number

hizb_quarter

Maqra

sajda

Binary indicator for presence of a sajdah

sajda_id

Unique id number for the sajdah

sajda_recommended

Binary indicator for whether a sajdah is recommended

sajda_obligatory

Binary indicator for whether a sajdah is obligatory

Details

Because Surahs 89 and 113 are both translated as "The Dawn," Surah 113 has been retitled "The Daybreak"

Source

Tanzil (http://tanzil.net/docs/download) and Al Quran Cloud (https://alquran.cloud/)

Examples

# See first few rows
head(quran_ar)

# How many ayahs are in each surah?
library(dplyr)

quran_ar %>%
  group_by(surah_title_ar) %>%
  summarize(total_ayaat = n())

The text of the Qur'an (Arabic, no vowels)

Description

A dataset containing the Arabic text of the Qur'an, without vowels.

Usage

quran_ar_min

Format

A data frame with 6236 rows and 18 columns:

surah_id

Unique id number for the surah

ayah_id

Unique id number for the ayah

surah_title_ar

Name of the surah (Arabic)

surah_title_en

Name of the surah (English; transliterated)

surah_title_en_trans

Name of the surah (English; translated)

revelation_type

Type of the surah (Meccan or Medinan)

text

Ayah text

surah

Surah

ayah

Ayah

ayah_title

Combined surah and ayah (e.g. 2:242)

juz

Juz'

manzil

Manzil

page

Page number

hizb_quarter

Maqra

sajda

Binary indicator for presence of a sajdah

sajda_id

Unique id number for the sajdah

sajda_recommended

Binary indicator for whether a sajdah is recommended

sajda_obligatory

Binary indicator for whether a sajdah is obligatory

Details

Because Surahs 89 and 113 are both translated as "The Dawn," Surah 113 has been retitled "The Daybreak"

Source

Tanzil (http://tanzil.net/docs/download) and Al Quran Cloud (https://alquran.cloud/)

Examples

# See first few rows
head(quran_ar_min)

# How many ayahs are in each surah?
library(dplyr)

quran_ar_min %>%
  group_by(surah_title_ar) %>%
  summarize(total_ayaat = n())

The Saheeh International translation of the Qur'an (English)

Description

A dataset containing the English text of the Saheeh International translation of the Qur'an.

Usage

quran_en_sahih

Format

A data frame with 6236 rows and 18 columns:

surah_id

Unique id number for the surah

ayah_id

Unique id number for the ayah

surah_title_ar

Name of the surah (Arabic)

surah_title_en

Name of the surah (English; transliterated)

surah_title_en_trans

Name of the surah (English; translated)

revelation_type

Type of the surah (Meccan or Medinan)

text

Ayah text

surah

Surah

ayah

Ayah

ayah_title

Combined surah and ayah (e.g. 2:242)

juz

Juz'

manzil

Manzil

page

Page number

hizb_quarter

Maqra

sajda

Binary indicator for presence of a sajdah

sajda_id

Unique id number for the sajdah

sajda_recommended

Binary indicator for whether a sajdah is recommended

sajda_obligatory

Binary indicator for whether a sajdah is obligatory

Details

Because Surahs 89 and 113 are both translated as "The Dawn," Surah 113 has been retitled "The Daybreak"

Source

Tanzil (http://tanzil.net/docs/download) and Al Quran Cloud (https://alquran.cloud/)

Examples

# See first few rows
head(quran_en_sahih)

# How many ayahs are in each surah?
library(dplyr)

quran_en_sahih %>%
  group_by(surah_title_en) %>%
  summarize(total_ayaat = n())

The Yusuf Ali translation of the Qur'an (English)

Description

A dataset containing the English text of the Yusuf Ali translation of the Qur'an.

Usage

quran_en_yusufali

Format

A data frame with 6236 rows and 18 columns:

surah_id

Unique id number for the surah

ayah_id

Unique id number for the ayah

surah_title_ar

Name of the surah (Arabic)

surah_title_en

Name of the surah (English; transliterated)

surah_title_en_trans

Name of the surah (English; translated)

revelation_type

Type of the surah (Meccan or Medinan)

text

Ayah text

surah

Surah

ayah

Ayah

ayah_title

Combined surah and ayah (e.g. 2:242)

juz

Juz'

manzil

Manzil

page

Page number

hizb_quarter

Maqra

sajda

Binary indicator for presence of a sajdah

sajda_id

Unique id number for the sajdah

sajda_recommended

Binary indicator for whether a sajdah is recommended

sajda_obligatory

Binary indicator for whether a sajdah is obligatory

Details

Because Surahs 89 and 113 are both translated as "The Dawn," Surah 113 has been retitled "The Daybreak"

Source

Tanzil (http://tanzil.net/docs/download) and Al Quran Cloud (https://alquran.cloud/)

Examples

# See first few rows
head(quran_en_yusufali)

# How many ayahs are in each surah?
library(dplyr)

quran_en_yusufali %>%
  group_by(surah_title_en) %>%
  summarize(total_ayaat = n())