Same instant, now legible: the evening of 18 November 2018, three messages eight seconds apart.
The type changed too, from <dbl> to <dttm>. From a date-time you can pull the hour of day and the day of week, which the raw integer will never give you.
A single word at 8, punctuation at 23, copypasta at 441. message_length is a ratio variable: true zero, equal intervals, safe to average.
Common errors today
Every message dated in the year 50000: you forgot / 1000
could not find function "str_length": run library(tidyverse) first
object 'message_length' not found: you never assigned the result back to chat
Assigning with <- is what makes a change stick. Without it, R prints and forgets.
unexpected '=' usually means = where == belongs inside filter()
The package ships the ones specific to this data: run ?v2v::common_errors for the year-50,888 timestamp, the join that matches nothing, and the surprisingly low kappa.
Checkpoint
You should now have:
A chat object with a working timestamp column, typed <dttm>
A message_length column, typed <int>
Output from select(date, timestamp) showing dates in November 2018
A saved script, not just lines typed into the console
Still missing: the gaming label. That is Thursday.
Before Thursday
Run today’s two transformations on your own project and save the script
Sampling Plan and Pilot and Data Wrangling are both due this week
Thursday we build the gaming label, join the two tables, and inspect what the join leaves behind
Bring your script. We pick it up exactly where it stops.