text: Title: CLI - leverage dataframes to output analysis results
  Body: Usage via CLI expects the analysis function to support printing directly to the console.
  
  We could leverage the new DataFrame object results to output to a file instead.
  This will simplify the code (as the previous "print_to_console" options could be removed) and newer functions do not have to support console printing.