Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds a new output option that writes the dump output to the dump table in a SQLite3 database. The reason for adding this option is to reduce the size of dumped output file and to provide an easier way to tabulate the dumped output. The --dump option still generates a CSV-formatted file containing the dumped output, which keeps open the possibility of users importing the dumped output into a wide variety of data-analysis software packages (ranging from SAS or R or Stata to any spreadsheet).
Here is an example that uses the new option:
Notice that the SQLite database file is only slightly more than half the size of the CSV-formatted file containing the exact same dumped output data. And that tabulating the dump output in the database eliminates the need to know the column numbers of variables and opens up a rich set of tabulation capabilities built into the structured query language (SQL) select command. SQL is a declarative (rather than a procedural) language, so a user needs only to specify the nature of the tabulated table and then the SQL database figures out the procedural program that produces the specified tabulated table.
@MattHJensen @feenberg @Amy-Xu @andersonfrailey @GoFroggyRun @codykallen @zrisher