Delete row names from sensed bins and valid sensed days

replace/299996fd89a42f0969d4a6f2131435339d2739e2
JulioV 2019-12-04 11:39:40 -05:00
parent 15a9e33728
commit 0bd946b53c
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)