Create function that consolidates machine data and manual data