adhan: Adhan (prayer) times.

View source: R/adhan.R

adhanR Documentation

Adhan (prayer) times.

Description

Get Adhan (prayer) times, according to city, country and method input. Defining the method, city and country parameters is mandatory.

Usage

adhan(method , city, country, day, month, year)

Arguments

method

The method used for estimatong the prayer times. Acceptable values are 0-14. The corrspond to 0-Shia Ithna-Ansari, 1-University of Islamic Sciences (Karachi), 2-Islamic Society of North America, 3-Muslim World League, 4-Umm Al-Qura University (Makkah), 5-Egyptian General Authority of Survey, 7-Institute of Geophysics (University of Tehran), 8-Gulf Region, 9-Kuwait, 10-Qatar, 11-Majlis Ugama Islam Singapura (Singapore), 12-Union Organization islamic de France, 13-Diyanet İşleri Başkanlığı (Turkey) and 14-Spiritual Administration of Muslims of Russia. Defining this parameter is mandatory!

city

Character string with a city name. Defining this parameter is mandatory!

country

Character string that includes a country's name. see cointries() for full list of countries ! Defining this parameter is mandatory!

day

The day. either a number of a character string, e.g. "21". If missing, the current date (obtained from your system) will be used.

month

The month. either a number of a character string, e.g. "12". If missing, the current date (obtained from your system) will be used.

year

The year. either a number of a character string, e.g. "2021". If missing, the current date (obtained from your system) will be used.

Value

vector of character strings showing the prayer times.

Author(s)

Ali Oghabian

See Also

adhanMonth adhanMap

Examples

adhan( 
    method="7",
    city="Helsinki",
    country="Finland")

gacatag/adhan documentation built on April 6, 2024, 4:11 a.m.