Get the Relational Intersection of 2 Data Sets

DESCRIPTION:

Join 2 input data sets, ignoring all unmatched columns, with the common columns acting as key columns.

This function requires the bigdata library section to be loaded.

USAGE:

bd.relational.intersection(x, y)

REQUIRED ARGUMENTS:

x
a bdFrame or data.frame.
y
a bdFrame or data.frame.

OPTIONAL ARGUMENTS:

VALUE:

A bdFrame or data.frame containing the intersection of each data sets' columns and a row for each combination of rows in the input relations where the given rows have the same value for the common columns of the input relations, if any.

DETAILS:

This function takes two inputs ( bdFrame or data.frame ). The output contains the intersection of each data sets' columns and a row for each combination of rows in the input relations where the given rows have the same value for the common columns of the input relations, if any.

SEE ALSO:

EXAMPLES:

## Get a data.frame with column "a" and rows
## where column "a" is 8, 9, or 10.
bd.relational.intersection(data.frame(a=1:10, b=11:20, c=21:30), data.frame(a=8:20))