View source: R/bdc_eventDate_empty.R
bdc_eventDate_empty | R Documentation |
This function identifies records missing information on an event date (i.e., when a record was collected or observed).
bdc_eventDate_empty(data, eventDate = "eventDate")
data |
A data frame containing column with event date information. |
eventDate |
Numeric or date. The column with event date information. |
This test identifies records missing event date information (i.e., empty or not applicable NA).
A data.frame containing the column ".eventDate_empty". Compliant (TRUE) if 'eventDate' is not empty; otherwise "FALSE".
Other time:
bdc_year_from_eventDate()
,
bdc_year_outOfRange()
collection_date <- c(
NA, "31/12/2015", "2013-06-13T00:00:00Z", "2013-06-20",
"", "2013", "0001-01-00"
)
x <- data.frame(collection_date)
bdc_eventDate_empty(data = x, eventDate = "collection_date")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.