View source: R/time_of_day_binner.R
create_dummy_timezones | R Documentation |
Creates a default (UTC) timezones object for a set of timestamps
create_dummy_timezones(timestamps)
timestamps |
a dataframe with columns author and created_UTC |
a timezones object: a data frame with 1 row for each author, with timezone listed as "UTC"
my_timestamps <- data.frame(author=c(1,1,2,2), created_utc=1.6*10^9+c(0,1000,2000,3000)) create_dummy_timezones(my_timestamps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.