exponential-decay / demystify

Engine for analysis of Siegfried export files and DROID CSV. The tool has three purposes, break the export into its components and store them within a SQLite database; create additional columns to augment the output where useful; and query the SQLite database, outputting results in a readable form useful for analysis by researchers and archivists within digital preservation departments in memory institutions. The tool will find duplicates, unidentified files, blacklisted objects, character encoding issues, and more.
http://www.openplanetsfoundation.org/blogs/2014-06-03-analysis-engine-droid-csv-export
zlib License
23 stars 5 forks source link

Reformat string concatenation queries and result handling #74

Open ross-spencer opened 2 years ago

ross-spencer commented 2 years ago

Some queries optimize the need for string concatenation too early, for example:

This leaves very few options to manipulate this afterwards, e.g. for handling versions where version is None. It shouldn't be done at the query layer here when we still want to format the results both as data and present them.