The records_source object is used to find extreme records of interest.
Arguments
- dataset_name
-
The name of the source dataset
The name refers to the dataset provided by the
source_datasetsargument ofderive_param_extreme_record().- Default value
none
- filter
-
An unquoted condition for selecting the observations from
dataset.- Default value
NULL
- new_vars
-
Variables to add
The specified variables from the source datasets are added to the output dataset. Variables can be renamed by naming the element, i.e.,
new_vars = exprs(<new name> = <old name>).For example
new_vars = exprs(var1, var2)adds variablesvar1andvar2from to the input dataset.And
new_vars = exprs(var1, new_var2 = old_var2)takesvar1andold_var2from the source dataset and adds them to the input dataset renamingold_var2tonew_var2. Expressions can be used to create new variables (see for examplenew_varsargument inderive_vars_merged()).- Permitted values
list of expressions created by
exprs(), e.g.,exprs(ADT, desc(AVAL))- Default value
none
See also
Source Objects:
basket_select(),
censor_source(),
death_event,
event(),
event_joined(),
event_source(),
flag_event(),
query(),
tte_source()
