<filename>server/scripts/fec/merge-parts.py<gh_stars>0
import json

all_donors = []
last_file_piece = 457

for i in range(last_file_piece + 1):
    filename = 'tx-trump-donors-{}.json'.format(i)
    with open(filename, 'r') as fin:
        data = json.load(fin)

        for entry in data:
            all_donors.append(entry)

with open('../../../data/tx-trump-donors.json', 'w+') as fout:
    json.dump(all_donors, fout)
