Functions to read in csvs, subset needed data and analyze said data