tide_sync | R Documentation |
Find tidal height for survey timestamps
tide_sync(
df,
tide,
date_col = 2,
tide_col = 3,
t_offset = 0,
platform_height = 0,
verbose = TRUE
)
df |
A |
date_col |
The index of the column with datetime data in the tide |
tide_col |
The index of the column with tide height data in the tide |
t_offset |
A time offset, in seconds, to apply to the tide data before synching with |
platform_height |
A height offset, in meters, to apply to the tide data before synching with |
verbose |
Boolean: Print updates to Console? |
tides |
A |
The same df
that was supplied, now with three new columns:
tide_ht
(the tide height for each row),
tide_diff
(the time difference, in seconds, between the df
timestamp and
the row of tidal data referenced for tide height), and
ht
(the height of the platform above the tidally-adjusted sea level)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.