How many surveys were finished?
finished.RdJust a simple to check how many times a survey (e.g. diary) was finished. It defaults to checking the "ended" variable for this.
Value
An integer: the count of non-missing values in survey[[variable]]
(0 when the survey or column is empty).
Examples
survey = data.frame(ended = c("2016-05-28 10:11:00", NA, "2016-05-30 11:18:28"))
finished(survey = survey)
#> [1] 2