tableDescription: Build a nice description of a table.

Description Usage Arguments Details Value See Also Examples

Description

Please see http://www.win-vector.com/blog/2017/05/managing-spark-data-handles-in-r/ for details. Note: one usually needs to alter the keys column which is just populated with all columns.

Usage

1
tableDescription(tableName, handle, ..., keyInspector = key_inspector_all_cols)

Arguments

tableName

name of table to add to join plan.

handle

table or table handle to add to join plan (can already be in the plan).

...

force later arguments to bind by name.

keyInspector

function that determines preferred primary key set for table.

Details

Please see vignette('DependencySorting', package = 'replyr') and vignette('joinController', package= 'replyr') for more details.

Value

table describing the data.

See Also

buildJoinPlan, keysAreUnique, makeJoinDiagramSpec, executeLeftJoinPlan

Examples

1
2
d <- data.frame(x=1:3, y=NA)
tableDescription('d', d)

WinVector/replyr documentation built on Oct. 22, 2020, 8:07 p.m.