Import your modules
In [ ]:
We'll use a local version of this file from now on to save on bandwidth.
In [ ]:
# Open the file 'bills.json' in the project2/data/ directory
# Convert it to a dict
# Each bill is stored in an array in `data` with the key `objects`
# Create a variable for easy access to the data we care about
# Create a csv file to output in the same directory
# Create a csv writer. This will help us format the file
# correctly.
# Write out the header row
# Iterate through each dict in the array `objects`