Get Lower Table from Several Upper Table Fields
Source:R/getLowerTableSubsets.R
getLowerTableSubsets.Rd
This function takes a list of subsets, a target lower level table name, and a list of tables. It returns a unique data frame containing the rows of the target lower level table that are associated with the given values of the upper table field in each subset. The function can also add the subset values to the result for reference.
Arguments
- subsets
A named list of vectors. Each vector contains values for a specific upper table field.
- tblName
A character string specifying the name of the target lower level table.
- rdbesTables
A RDBESData object containing the tables.
- combineStrata
A logical value indicating whether to include the strata information in the result. If
TRUE
, and if any strata has more than one value, those values are collapsed into a single string and appended to the result with a warning.- verbose
A logical value indicating whether to print informative text.