Code developed as part of my work in the CUNY MSDA program's Data Acquisition and Management course (IS607)