Get first value based on datetime variable
filter_date_first(.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.min) in the .date
Other date functions:
calc_age(),
filter_date_last(),
filter_date_nearest()