Returns the date from a sample column if it exist else NA.

get_date_from_sample(conn, samples)

Arguments

conn

database connection object

samples

character vector with one or more sample dates