Custom Data Prep Function
CustomDataPrep.RdConvert a data_prep_function, into
a function that can be used in an iidda data prep pipeline.
Arguments
- data_prep_function
 A standard
Rfunction that takes a data frame, calleddataas its first argument, and returns another data frame. Optionally, subsequent arguments can be added that give the names of types of variables (e.g.,period_end_variable = "period_end_date"). Consider usingNULLas the default of these variable name arguments, which will lead to good guesses about variable names whendataare obtained fromiidda.api.