Get last value based on datetime variable
filter_date_last(.data, date_var)
.data | data which contains datetime or other comparable variable |
---|---|
date_var | datetime or other comparable variable |
The row which is the first (by which.max) in the .date
Other date functions:
calc_age()
,
filter_date_first()
,
filter_date_nearest()