Skip to contents

Function that accepts a data column name. If it doesn't exist in "metadata", it looks for the data in the Enable DB.

Usage

metadata_or_db(
  look.for,
  region,
  connection = con,
  schema = "CORE_DATA",
  ds = -1
)

Arguments

look.for

The metadata to look for, e.g. "width"

region

A Region object

connection

The database connection object

schema

The database schema name

ds

A date-stamp of today plus ds (an integer) is used to filter Snowflake queries.

Value

Output

Scroll to top