Here's how to execute an analysis job - we'll use the bundled example job "employees.analysis.xml":
> datacleaner-console.exe -job examples/employees.analysis.xml SUCCESS! ... RESULT: Value distribution for column: REPORTSTO Top values: - 1102: 6 - 1143: 6 - 1088: 5 Null count: 0 Unique values: 0 RESULT: Match count Sample Aaaaaaa 22 William Aaaa Aaa 1 Foon Yue RESULT: Match count Sample aaaaaaaaaa 23 jfirrelli RESULT: Match count Sample Aaaaa Aaa 17 Sales Rep AA Aaaaaaaaa 2 VP Marketing Aaaa Aaaaaaa (AAAA) 1 Sale Manager (EMEA) Aaaaa Aaaaaaa (AA) 1 Sales Manager (NA) Aaaaa Aaaaaaa (AAAAA, AAAA) 1 Sales Manager (JAPAN, APAC) Aaaaaaaaa 1 President ...
As you can see from the listing, the results of the analysis will be printed directly to the command-line output. If you want to save the results to a file, simply use your operating systems built-in functionality to pipe command-line output to a file, typically using the '>' operator.
You can override the datastore the job uses by passing the -ds argument when invoking the command-line interface:
> datacleaner-console.exe -job examples/employees.analysis.xml -ds orderdb