conv_date: Converts a single year to a date

View source: R/utils-conv.R

conv_dateR Documentation

Converts a single year to a date

Description

Converts a single year to a date

Usage

conv_date(vec)

Arguments

vec

a character vector containing dates in the format "yyyy"

Value

a Date vector

Examples


x <- c("2000", "1900", "2020", "1950")
nsqipr:::conv_date(x)


dylanrussellmd/nsqipr documentation built on Oct. 13, 2023, 11:01 a.m.