compute: Compute the database records of a Ramses object

computeR Documentation

Compute the database records of a Ramses object

Description

Compute the tbl_sql records of a Ramses object in the backend database (see dplyr::compute()). This function creates a database index of Encounter and TherapyEpisode longitudinal tables, which can speed up operations such as those performed by clinical_feature_x() functions.

Usage

compute(x, ...)

## S4 method for signature 'TherapyEpisode'
compute(x)

## S4 method for signature 'Encounter'
compute(x)

## S4 method for signature 'RamsesObject'
compute(x)

Arguments

x

an object of class RamsesObject

...

arguments passed on to methods (compatibility with dplyr's S3 generic)

Value

an object of class RamsesObject

See Also

compute()


ramses-antibiotics/ramses-package documentation built on Feb. 13, 2024, 1:01 p.m.