format_vipr_date: Format ViPR dates (MM/DD/YYYY) into some form of YYYY-MM-DD,...

View source: R/merge_vipr_ncbi.R

format_vipr_dateR Documentation

Format ViPR dates (MM/DD/YYYY) into some form of YYYY-MM-DD, with unknown set to XX

Description

Format ViPR dates (MM/DD/YYYY) into some form of YYYY-MM-DD, with unknown set to XX

Usage

format_vipr_date(vc, delim = "/")

Arguments

vc

Character vector containing the vipr date such as "01/30/2022" or "01/2022"

delim

Delimiter of date values, which is "/" by default but could also be "-"

Value

The formatted date in "YYYY-MM-DD" format


j23414/jenplots documentation built on Aug. 28, 2022, 6:32 p.m.