parse_date {states}R Documentation

Parse date

Description

Try to parse input as a date

Usage

parse_date(x)

Arguments

x

a integer or character vector, see examples

Examples

parse_date(2006)
parse_date("2006")
parse_date("2006-06")
parse_date("2006-06-01")
parse_date(as.Date("2006-06-01"))


[Package states version 0.3.2 Index]