Delete row names from sensed bins and valid sensed days
parent
15a9e33728
commit
0bd946b53c
|
@ -27,5 +27,5 @@ phone_sensed_bins <- all_sensor_data %>%
|
|||
fill = list(sensor_count=0)) %>%
|
||||
pivot_wider(names_from = c(local_hour, bin), values_from = sensor_count)
|
||||
|
||||
write.csv(phone_sensed_bins, output_file)
|
||||
write.csv(phone_sensed_bins, output_file, row.names = FALSE)
|
||||
|
||||
|
|
|
@ -28,4 +28,4 @@ phone_valid_sensed_days <- all_sensor_data %>%
|
|||
summarise(valid_hours = n()) %>% # Count how many valid hours each day has
|
||||
filter(valid_hours >= min_valid_hours) # Discard those days where there were fewer than min_valid_hours
|
||||
|
||||
write.csv(phone_valid_sensed_days, output_file)
|
||||
write.csv(phone_valid_sensed_days, output_file, row.names = FALSE)
|
||||
|
|
Loading…
Reference in New Issue