source_data_columns: Find source data columns from a set of expressions

Description Usage Arguments Details Value

View source: R/source_data_columns.R

Description

This function analyses a list of expressions, and aims to extract all the field names of anything enclosed with .data[["ColumnName"]]. When functional, this will be a vital function for working out which CSV columns we need for any given set of functions - currently we have to state this by hand which is error-prone.

Usage

1
source_data_columns(exprs_list)

Arguments

exprs_list

A list of expressions that you want to extract the column names from

Details

The current code needs optimising in order to practically help improve query speed.

Value

A string vector of column names needed to produce all the outputs in the expression list.


md0u80c9/SSNAPStats documentation built on Feb. 11, 2020, 11:43 a.m.