zodiac_sign: Extract zodiac sign from date

Description Usage Arguments Value Examples

View source: R/zodiac_sign.R

Description

Extract zodiac sign from date

Usage

1
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

1
zodiac_sign("2021-07-03")

KoderKow/kowr documentation built on July 19, 2021, 4:18 p.m.