get_filter_statement {acdcquery}R Documentation

Get Filter Statement

Description

This function constructs a SQL filter statement based on the provided filter statements and argument sequence.

Usage

get_filter_statement(filter_statements, argument_sequence, introduction_table)

Arguments

filter_statements

A character vector of SQL filter statements, one for each argument in the argument sequence.

argument_sequence

A numeric vector representing the argument sequence for constructing the filter statement.

introduction_table

A data frame containing information about table prefixes for ID variables.

Value

A character string representing the constructed SQL filter statement.


[Package acdcquery version 1.0.1 Index]