In this chapter, I will do a demonstration of a single program called process_data.py. The process_data.py program will read a JSON file containing the data for this chapter, extract some of the variables from the data and output a new dataset to an output JSON file.
At the end of the chapter, I will demonstrate an alternative version of process_data.py called process_data2.py that allows for external specification of the input and output filenames.
The finished product for all of the code is available in the code folder of the external resources. All external resources are available at the following link: https://goo.gl/8S58ra.