parse_date_md: Parse a month-day character vector as date

View source: R/converters.R

parse_date_mdR Documentation

Parse a month-day character vector as date

Description

A helper function to add a specified year to a month-day-like character and parse as date.

Usage

parse_date_md(x, year, format = "%Y%m%d")

Arguments

x

A character vector containing month-day-like strings

year

An integer added to x

format

A format specification passed to readr::parse_date() used to parse a concatenated string of year and x.

Value

A Date() vector


svraka/asmisc documentation built on June 12, 2025, 12:04 p.m.