replyr (version 1.0.5)

buildJoinPlan: Build a join plan

Description

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

Usage

buildJoinPlan(tDesc, ..., check = TRUE)

Arguments

tDesc

description of tables from tableDescription (and likely altered by user). Note: no column names must intersect with names of the form table_CLEANEDTABNAME_present.

...

force later arguments to bind by name.

check

logical, if TRUE check the join plan for consistency.

Value

detailed column join plan (appropriate for editing)

See Also

tableDescription, inspectDescrAndJoinPlan, makeJoinDiagramSpec, executeLeftJoinPlan

Examples

Run this code
# NOT RUN {
d <- data.frame(id=1:3, weight= c(200, 140, 98))
tDesc <- rbind(tableDescription('d1', d),
               tableDescription('d2', d))
tDesc$keys[[1]] <- list(PrimaryKey= 'id')
tDesc$keys[[2]] <- list(PrimaryKey= 'id')
buildJoinPlan(tDesc)

# }

Run the code above in your browser using DataLab