Description Usage Arguments Details Value
Examines two time columns, returns the greater or lesser value and inserts that value in a result column
1 | IfElseTimedateCompare(df, col1, col2, result, default_tz, tz)
|
df |
Dataframe of location data. |
col1 |
Column name, col1 is compared to col2 |
sign |
String, either ">" or "<" for returning greater than or less than values, respectively. Default is ">". |
col2 |
Column name, col2 is compared to col1. |
result |
String, name of column to insert results. Default is "result". |
default_tz |
String, timezone that timedate reverts to, based on OS time. |
tz |
String, timezone of original data (may be different from default_tz). |
Used in RoostArrivalDeparture(). Ensures that result is in the correct timezone.
Original dataframe with a new "result" column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.