convert_date: Standardize date format of clinical studies

View source: R/convert_date.R

convert_dateR Documentation

Standardize date format of clinical studies

Description

Missing months are replaced by June, missing days by 15th of the month. The date format is then transferred to a yyyymmdd format.

Usage

convert_date(x, day = "-15")

Arguments

x

vector containing dates.

day

day to be imputed if only month is given.


MBender1992/emR documentation built on Feb. 18, 2025, 9:21 a.m.