format_date: Format single year date

Description Usage Arguments Value Examples

View source: R/formatting.R

Description

This function formats dates consisting of a 4 digit year, adding a dash at the end so that the reporting tool can handle these single dates in a year range. It also replaces the unicode dash character

Usage

1

Arguments

date

integer or character, 4 digits

Value

character, 4 digits with end dash

Examples

1

jncc/article17 documentation built on Oct. 11, 2019, 6:15 a.m.