Code to format data for the Shiny app
change yields to yield for clarity/consistency