Determine the age of an individual now given their age on a previous date

age_now(date_of_fact, age_at_fact, minimise = TRUE)

Arguments

date_of_fact

A date string from the tidyged object.

age_at_fact

An age at event string from the tidyged object.

minimise

If date ranges or periods are used in the date, whether to choose the bounds which assume the minimum age. If this is FALSE, the maximum age is assumed.

Value

A numeric value giving the current age in years. A numeric value less than zero means no determination could be made.