bqVectorToCase: Returns a case clause based on binning the input vector to...

View source: R/sql-helpers.R

bqVectorToCaseR Documentation

Returns a case clause based on binning the input vector to n+1 bins

Description

Returns a case clause based on binning the input vector to n+1 bins

Usage

bqVectorToCase(field, limits, alias = field)

Arguments

field

field name to be used for the binning

limits

vector of separator values

alias

name of the target label field

Value

case clause to be included in a SQL statement


madedotcom/retl documentation built on Sept. 19, 2022, 3:28 a.m.