Cleaning Smartphone Activity Data with R