Extract zodiac sign from date

zodiac_sign(date, factor_order = "roman")

Arguments

date

A character/date in "yyyy-mm-dd" format. If value is a character the functuin will run lubridate::ymd() on the date value.

factor_order

A character. Sort the factor levels by the following:

  • roman: roman calender; Aries first (Default)

  • modern: modern calender; Capricorn first

  • none: return the data as a character

Value

A character value. The zodiac sign that relates to the given date

Examples

zodiac_sign("2021-07-03")
#> [1] Cancer #> 12 Levels: Aries Taurus Gemini Cancer Leo Virgo Libra Scorpio ... Pisces