View source: R/enrich_timestamp.R
enrich_timestamp | R Documentation |
Create new variables from existing timestamp, which are often used/needed as intermediate variables in home location algorithms.
enrich_timestamp(df, timestamp = "created_at", tz = "Asia/Singapore")
df |
A nested dataframe |
timestamp |
Name of column that holds specific timestamp for each data point and it should be POSIXct |
tz |
A character string containing the time zone to convert to and it should be recognized in R. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.