The
date_source() function has been
deprecated without replacement as all functions using the source_pd
argument are deprecated as well.
Create a date_source object as input for source_pd argument in
{admiralonco} functions.
Arguments
- dataset_name
The name of the dataset, i.e. a string, used to search for the date.
- filter
An unquoted condition for filtering
dataset.- date
A variable or an expression providing a date. A date or a datetime can be specified. An unquoted symbol or expression is expected.
- set_values_to
Variables to be set
Examples
pd <- date_source(
dataset_name = "adrs",
date = ADT,
filter = PARAMCD == "PD"
)
#> `date_source()` was deprecated in admiralonco 1.4.0.
#> ✖ This message will turn into a warning {at the beginning of 2027}.
#> ℹ See admiral's deprecation guidance:
#> https://pharmaverse.github.io/admiraldev/dev/articles/programming_strategy.html#deprecation
