sqlContainsInclusionRuleStats: Detects if the SQL indicate to compute inclusion rule...

Description Usage Arguments

View source: R/CohortConstruction.R

Description

This function takes as a parameter a SQL script used to generate a cohort and performs a string search for tokens that indicate to generate the inclusion statistics. This SQL is usually generated by circe-be.

This function also assumes that the SQL passed into the function has not been translated to a specific SQL dialect.

Usage

1

Arguments

sql

A string containing the SQL used to instantiate a cohort. This code assumes that the SQL has not been rendered using SqlRender in order to detect tokens that indicate the generation of inclusion rule statistics in addition to the cohort.


anthonysena/CohortGenerator documentation built on March 8, 2021, 12:04 a.m.