Code to convert environmental sensor data to a format we can easily use for visualizations.