parse_year: parse_year

parse_yearR Documentation

parse_year

Description

Extracts a four-digit "naive" representation from various other representations of a "year".

Usage

parse_year(x, ...)

Arguments

x

character, numeric, or YYYY-class

...

ignored for now

Value

four-digit integer

Examples

parse_year(CY(2030))
parse_year(RY(2015))
parse_year(BY(2011))
parse_year("1999")


BAAQMD/yeartools documentation built on April 1, 2022, 12:24 a.m.