Rons Data Compare is an application for comparing and previewing differences between two CSV files. This document is intended to help users effectively update one CSV file based on the differences identified in another.
First Things First
Of course the first thing to do is download and install Rons Data Compare. This will give you the essential software needed to do the job.
Concepts
Each Rons Data Compare comparison is opened in a new tab within the main window. Each comparison contains two CSV files and represents a single comparison session used to transfer updates from one document to another.
When one document is compared to another, the columns are mapped (or aligned) between the two files. The values in those columns are then used to align the rows. Differences in columns, rows, and cells are displayed, along with navigation and update functions that help you review and apply changes.
Open a Compare
You can start by opening a blank comparison (New Comparison) and then opening the two CSV files you want to compare. Alternatively, you can open a CSV file using Open Comparison. This automatically creates a new comparison and opens the selected file on the left side.
You can also use the Location panel on the left side of the window to browse for and open CSV files directly.
Compare Settings
Once a comparison has been opened and both documents are loaded, the next step is to define how the documents will be compared.
Column Mappings
Rows are matched by comparing the values in mapped columns between the left and right files.
Column mappings identify which columns in the two files contain equivalent data. These mappings are required because the application uses them to match rows and determine where differences exist.
At least one column mapping must be defined between the files.
Key columns
Key columns are one or more columns that contain data used to uniquely identify a row.
Examples include a 'Catalog ID' in a product list or an 'Email address' in a contact list.
If one or more key columns are defined in Rons Data Compare and a 'Match Key - x' Compare Mode is selected, only the key columns are used to match rows between the left and right files.
Using key columns provides several advantages:
- Precision - Rows can be matched accurately and consistently.
- Speed - Looking up rows by key is typically much faster than comparing entire rows.
- Cell Differences - Once rows have been matched, the remaining mapped columns can be checked for differences at the cell level.
Compare Modes
| Mode | Description |
|---|---|
| Match Key - Left and right | Mapped key columns are used to do the row level compare. |
| All rows are included from the left and right. | |
| Match Key - Left only | Mapped key columns are used to do the row level compare. |
| All rows are included from the left and matching rows from the right. | |
| Match Key - Lookup | Mapped key columns are used to do the row level compare. |
| All rows are included from the left and lookup rows from the right. | |
| Match full row | All mapped columns are used to do the row level compare. |
| All rows are included from the left and right. | |
| Match full/partial row | All mapped columns are used to do the row level compare, with a secondary lookup to match similar ro |
| All rows are included from the left and right. |
For more detail on row matching in Rons Data Compare see Data Compare Row Comparison Explained.
The Details
To quickly create a column mapping, use the Auto Map button. The available options are:
- Build Map from Names (default) - Matches columns based on their names.
- Build Map from Index - Matches columns based on their position within the files.
You can also manage mappings manually using the controls around the Columns Mapped list. Mappings can be added, edited, or removed as needed, although it is generally recommended to map all corresponding columns.
To designate key columns, select the appropriate mappings in the Columns Mapped list and choose Make Key Column. Key columns can be removed individually with Remove Key Column or all at once with Clear Key Columns.
The Comparison
When ready (or just to see what happens) press the Compare button.
The two document views have now switched to Compare View. This view overlays the original documents and highlights differences in columns, rows, and cells between the two files. You can quickly remove the comparison overlay by clicking the Clear Compare button, allowing the underlying documents to be viewed and edited normally.
Part of the power of Rons Data Compare is that its comparison features are implemented as a lightweight layer over the underlying documents. This approach keeps the application fast, efficient, and easy to use.
The Differences tab is the primary workspace for reviewing and managing differences between the two documents. The Actions panels on the left and right provide synchronization commands, while the Difference Summary displays the number of differences detected. The navigation panels make it easy to move between differences and review them efficiently.
Related Information
Rons Data Compare