enrich_timestamp: Create new variables dervied from timestamp

View source: R/enrich_timestamp.R

enrich_timestampR Documentation

Create new variables dervied from timestamp

Description

Create new variables from existing timestamp, which are often used/needed as intermediate variables in home location algorithms.

Usage

enrich_timestamp(df, timestamp = "created_at", tz = "Asia/Singapore")

Arguments

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.


spatialnetworkslab/homelocator documentation built on May 7, 2023, 8:18 p.m.