The
date_source()
function has been deprecated in favor of event().
Create a date_source object as input for derive_var_extreme_dt() and
derive_var_extreme_dtm().
Arguments
- dataset_name
-
The name of the dataset, i.e. a string, used to search for the date.
- Default value
none
- filter
-
An unquoted condition for filtering
dataset.Comparing derived numeric variables to fixed values, e.g.,
PCHG <= -90, may give unexpected results due to floating point representation. For details and solutions see the "Floating Point Comparisons" section invignette("concepts_conventions").- Default value
NULL
- date
-
A variable or an expression providing a date. A date or a datetime can be specified. An unquoted symbol or expression is expected.
- Default value
none
- set_values_to
-
Variables to be set
- Default value
NULL
