| test_age | R Documentation | 
Function to check the format of 'age' in data
test_age(data, agecolumn = "age", nrcode = NA)
| data | a data frame | 
| agecolumn | column name that corresponds to age or date pf birth | 
| nrcode | non response code corresponding to age column | 
0, if success error if failure
df <- data.frame("Age" = c(21, 15), "Name" = c("John", "Dora"))
test_age(df, "age", 999)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.