Move totalPages out from initialParams dictionary
Reformat some for loops as list comprehensions
Replace actual results with example.csv
Break out parameters other than employer