get_col: Helper Get Column Name

Description Usage Arguments Value Examples

Description

Helper function that gets format of columns to be accepted in VORTX.

Usage

1

Arguments

col

String or Vector of Strings. Cols to be formatted. Can be the name of a column or a vector with names of columns.

Value

String in format '["col1", "col2", "col3"]'

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
cols <- c('col1', 'col2')
col <- 'col3'

get_col(cols)

get_col(col)

## End(Not run)

Aquarela-Advanced-Analytics/r2vortx documentation built on May 20, 2019, 8:46 a.m.