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

Description Usage Format Details Source Examples

Description

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

Usage

1

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

1
2
3
4
5
6
7
8
9
# 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())

Example output

  surah_id ayah_id surah_title_ar surah_title_en surah_title_en_trans
1        1       1        الفاتحة     Al-Faatiha          The Opening
2        1       2        الفاتحة     Al-Faatiha          The Opening
3        1       3        الفاتحة     Al-Faatiha          The Opening
4        1       4        الفاتحة     Al-Faatiha          The Opening
5        1       5        الفاتحة     Al-Faatiha          The Opening
6        1       6        الفاتحة     Al-Faatiha          The Opening
  revelation_type                   text surah ayah ayah_title juz manzil page
1          Meccan بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ     1    1        1:1   1      1    1
2          Meccan  الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ     1    2        1:2   1      1    1
3          Meccan          الرَّحْمَٰنِ الرَّحِيمِ     1    3        1:3   1      1    1
4          Meccan         مَالِكِ يَوْمِ الدِّينِ     1    4        1:4   1      1    1
5          Meccan إِيَّاكَ نَعْبُدُ وَإِيَّاكَ نَسْتَعِينُ     1    5        1:5   1      1    1
6          Meccan  اهْدِنَا الصِّرَاطَ الْمُسْتَقِيمَ     1    6        1:6   1      1    1
  hizb_quarter sajda sajda_id sajda_recommended sajda_obligatory
1            1 FALSE       NA                NA               NA
2            1 FALSE       NA                NA               NA
3            1 FALSE       NA                NA               NA
4            1 FALSE       NA                NA               NA
5            1 FALSE       NA                NA               NA
6            1 FALSE       NA                NA               NA

Attaching package:dplyrThe following objects are masked frompackage:stats:

    filter, lag

The following objects are masked frompackage:base:

    intersect, setdiff, setequal, union

`summarise()` ungrouping output (override with `.groups` argument)
# A tibble: 114 x 2
   surah_title_ar total_ayaat
   <fct>                <int>
 1 الفاتحة                  7
 2 البقرة                 286
 3 آل عمران               200
 4 النساء                 176
 5 المائدة                120
 6 الأنعام                165
 7 الأعراف                206
 8 الأنفال                 75
 9 التوبة                 129
10 يونس                   109
# … with 104 more rows

quRan documentation built on May 2, 2019, 3:21 a.m.