View source: R/addDemographicsQuery.R
| addFutureObservationQuery | R Documentation |
Same as addFutureObservation(), except query is not computed to a table.
addFutureObservationQuery(
x,
indexDate = "cohort_start_date",
futureObservationName = "future_observation",
futureObservationType = "days",
type = "numeric"
)
x |
A table containing individuals in a CDM reference. |
indexDate |
Name of a date column in |
futureObservationName |
Name of the future-observation column to add. |
futureObservationType |
Whether to return a |
type |
Type of the created column(s). Counts, days, age, and observation
durations can be |
cohort table with added column containing future observation of the individuals.
library(PatientProfiles)
cdm <- mockPatientProfiles(source = "duckdb")
cdm$cohort1 |>
addFutureObservationQuery()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.