Compare Tables

Descriptions:

This program compares all table files between two directories:

By sorting and summarize the difference result to ${LEXICON}/data/${YEAR}/diff

Usage:

  • TableTest <year>
    The default directories are:
    srcDir: ${LEXICON}/data/${YEAR}/tables
    tarDir: ${LEXICON}/data/${YEAR}/tables.frozen

  • TableTest <year> <srcDir> <tarDir>

Input:

${LEXICON}/data/${YEAR}/tables/*
${LEXICON}/data/${YEAR}/tables.frozen/*

Output:

${LEXICON}/data/${YEAR}/diff/summary.data