Create R functions addColumn and combineRows

This file takes a database output that has multiple records per key and reduces it to one line per key, with multiple records merged into a field. Not good data practices, but often the way people want to read reports.