format_date
format_date(x, date = FALSE)
Date or datetime vector returned by a Twitter API.
Logical, indicating whether to return object of class date. Defaults to FALSE, thus returning datetime object (class = POSIXct).
Date/datetime vector.
# NOT RUN { p <- get_timeline("potus", n = 3500) p <- format_date(p$created_at) head(p) # }
Run the code above in your browser using DataLab