Learn R Programming

dbparser (version 2.3.0)

.find_table_with_columns: Generic fallback: search an object tree for a data frame with required columns

Description

Generic fallback: search an object tree for a data frame with required columns

Usage

.find_table_with_columns(obj, required_cols, max_depth = 5L)

Value

A tibble or NULL.

Arguments

obj

A list (possibly nested).

required_cols

Character vector of column names that must all be present.

max_depth

Integer. Maximum recursion depth.