adhanMap | R Documentation |
Mapping prayer times of a city to another city, based on a reference time. This is useful for those who live in cities with very long nights/days and wish to follow prayer times of another city.
adhanMap(method, city, country, day, month, year, mapCity, mapCountry, mapBy)
city |
Character string with a city name. Defining this parameter is mandatory! |
country |
Character string that includes a country's name. see |
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. |
mapCity |
The city which its prayer time you want to follow. |
mapCountry |
The country where its prayer time you want to follow. |
mapBy |
The reference time to map. It can be either "Fajr", "Sunrise", "Dhuhr", "Asr", "Sunset", "Maghrib", "Isha", or "Imsak" ! |
If mapBy
is to set "Dhur", the "Dhur" prayer times in the 'map' location (e.g. Mecca, Saudi Arabia) is mapped to the "Dhur" prayer time in your location of interest (e.g. Helsinki, Finland). Then all the other prayer times in your location of interest (i.e. Helsinki) are calculated according to the differecne of other prayer times from "Dhur" in the mapping location (i.e. Mecca).
vector of character strings showing the prayer times.
Ali Oghabian
adhan
adhanMapMonth
adhanMap(
method="7",
city="Helsinki",
country="Finland",
mapCity="Mecca",
mapCountry="Saudi Arabia",
mapBy="Dhuhr")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.