Learn R Programming

admiralonco (version 1.4.0)

date_source: Create a date_source object

Description

[Deprecated] 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.

Usage

date_source(dataset_name, filter = NULL, date, set_values_to = NULL)

Value

An object of class date_source.

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

See Also

Other deprecated: derive_param_bor(), derive_param_clinbenefit(), derive_param_confirmed_bor(), derive_param_confirmed_resp(), derive_param_response(), filter_pd()

Examples

Run this code

pd <- date_source(
  dataset_name = "adrs",
  date = ADT,
  filter = PARAMCD == "PD"
)

Run the code above in your browser using DataLab