tidy_up_birth_year: Format the column containing birth year to remove invalid...

View source: R/tidy_up_birth_year.R

tidy_up_birth_yearR Documentation

Format the column containing birth year to remove invalid entries

Description

Format the column containing birth year to remove invalid entries

Usage

tidy_up_birth_year(birth_year, max_year)

Arguments

birth_year

Value from birth_year column

max_year

Birth year above which the entry is considered invalid. (Default: the year in which the sample was collected)

Value

Birth year as a numeric data type or NA


CUGBF/deidentifiedDB documentation built on Sept. 13, 2023, 6:28 a.m.