fiscper: Fiscper functions

Description Usage Arguments Examples

Description

Extract info from fiscper

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
fiscper_month(fiscper)

fiscper_date(fiscper)

fiscper_quarter(fiscper)

fiscper_semester(fiscper)

fiscper_workdays(fiscper)

make_fiscper(year, month)

Arguments

fiscper

Column containing the fiscper

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Extract info from fiscper
your_df %>%
  mutate(year = fiscper_year(fiscper),
         month = fiscper_month(fiscper),
         quarter = fiscper_quarter(fiscper),
         semester = fiscper_semester(fiscper),
         work_days = fiscper_workdays(fiscper),
         date = fiscper_date(fiscper))

# Create fiscper from year & month columns
your_df %>%
  mutate(make_fiscper(year, month))

mtfairbanks/graingr documentation built on Nov. 18, 2019, 8:39 a.m.