Code for cleaning data from activity trackers