str_qtr: util.R Useful utility functions for my data wrangling

Description Usage Arguments Value Examples

Description

Create a string representing the quarter, using the provided date

Usage

1
str_qtr(d = today())

Arguments

d

A date value. Defaults to the current date.

Value

A string of the form yyyy-Qq where q is one of 1, 2, 3 or 4.

Examples

1
2
str_qtr()
str_qtr("2003-03-02")

alphajuliet/ajworkr documentation built on May 11, 2019, 11:21 p.m.