R/get_rashi_name.R

Defines functions get_rashi_name

Documented in get_rashi_name

# ---------------------------------------------------------------------------- #
#' get_rashi_name
#'
#' @description Get name of the Rashi for given Julian day number.
#'
#' @param jd Julian day number
#'
#' @return Name of the Rashi.
#'
#' @examples
#' get_rashi_name(2459778)
#' get_rashi_name(gregorian_to_jd(30,8,2022))
get_rashi_name <- function(jd){
  return(rashis[rashi(jd)])
}
# ---------------------------------------------------------------------------- #

Try the VedicDateTime package in your browser

Any scripts or data that you put into this service are public.

VedicDateTime documentation built on Sept. 20, 2023, 9:08 a.m.