Package 'joinXL'

Title: Perform Joins or Minus Queries on 'Excel' Files
Description: Performs Joins and Minus Queries on 'Excel' Files fulljoinXL() Merges all rows of 2 'Excel' files based upon a common column in the files. innerjoinXL() Merges all rows from base file and join file when the join condition is met. leftjoinXL() Merges all rows from the base file, and all rows from the join file if the join condition is met. rightjoinXL() Merges all rows from the join file, and all rows from the base file if the join condition is met. minusXL() Performs 2 operations source-minus-target and target-minus-source If the files are identical all output files will be empty. Choose two 'Excel' files via a dialog box, and then follow prompts at the console to choose a base or source file and columns to merge or minus on.
Authors: Yvonne Glanville [aut, cre]
Maintainer: Yvonne Glanville <[email protected]>
License: GPL-3
Version: 1.0.1
Built: 2024-11-17 06:47:26 UTC
Source: CRAN

Help Index


Performs a SQL type full join on 2 Excel files

Description

Merges all rows of 2 Excel files based upon a common column in each file. Choose 2 files via dialog box. Prompted at the console to make 1 file a base file. Prompted to choose a column from each Excel file to use as the join condition.

Usage

fulljoinXL()

Value

The joined file, full_join.xlsx is placed in the working directory.

Author(s)

Yvonne Glanville, [email protected]

See Also

innerjoinXL for SQL type inner join, leftjoinXL for SQL type left join, rightjoinXL for SQL type right join, minusXL for file1 minus file2

Other X.joinXL.: innerjoinXL, leftjoinXL, minusXL, rightjoinXL

Examples

## Not run: 
fulljoinXL();

## End(Not run)

Performs a SQL type inner join on 2 Excel files

Description

Merges all rows from base file and join file if the join condition is met. Choose 2 files via dialog box. Prompted at the console to make 1 file a base file. Prompted to choose a column from each Excel file to use as the join condition.

Usage

innerjoinXL()

Value

The joined file, inner_join.xlsx is placed in the working directory.

Author(s)

Yvonne Glanville, [email protected]

See Also

fulljoinXL for SQL type full join, leftjoinXL for SQL type left join, rightjoinXL for SQL type right join, minusXL for file1 minus file2

Other X.joinXL.: fulljoinXL, leftjoinXL, minusXL, rightjoinXL

Examples

## Not run: 
innerjoinXL();

## End(Not run)

Performs a SQL type left join on 2 Excel files

Description

Selects all rows from the base file, and all rows from the join file if the join condition is met. Choose 2 files via dialog box. Prompted at the console to make 1 file a base file. Prompted to choose a column from each Excel file to use as the join condition.

Usage

leftjoinXL()

Value

The joined file, left_join.xlsx is placed in the working directory.

Author(s)

Yvonne Glanville, [email protected]

See Also

innerjoinXL for SQL type inner join, fulljoinXL for SQL type full join, rightjoinXL for SQL type right join, minusXL for file1 minus file2

Other X.joinXL.: fulljoinXL, innerjoinXL, minusXL, rightjoinXL

Examples

## Not run: 
leftjoinXL();

## End(Not run)

Performs a SQL type minus query on 2 Excel files

Description

Performs 2 operations: source-minus-target and target-minus-source If the files are identical all outputs are empty. Choose 2 files via dialog box, and then from the console choose the common column between the files. 3 separate .xlsx files are returned to the user "source_minus_target.xlsx" "target_minus_source.xlsx" "rowsNOTduplicated.xlsx"

Usage

minusXL()

Value

In working directory: source_minus_target.xlsx, target_minus_source.xlsx, rowsNOTduplicated.xlsx

Author(s)

Yvonne Glanville, [email protected]

See Also

innerjoinXL for SQL type inner join, leftjoinXL for SQL type left join, rightjoinXL for SQL type right join, fulljoinXL for SQL type full join

Other X.joinXL.: fulljoinXL, innerjoinXL, leftjoinXL, rightjoinXL

Examples

## Not run: 
minusXL();

## End(Not run)

Performs a SQL type right join on 2 Excel files

Description

Selects all rows from the join file, and all rows from the base file if the join condition is met. Choose 2 files via dialog box. Prompted at the console to make 1 file a base file. Prompted to choose a column from each Excel file to use as the join condition.

Usage

rightjoinXL()

Value

The joined file, right_join.xlsx is placed in the working directory.

Author(s)

Yvonne Glanville, [email protected]

See Also

innerjoinXL for SQL type inner join, leftjoinXL for SQL type left join, fulljoinXL for SQL type full join, minusXL for file1 minus file2

Other X.joinXL.: fulljoinXL, innerjoinXL, leftjoinXL, minusXL

Examples

## Not run: 
rightjoinXL();

## End(Not run)