View source: R/subset_by_time.R
subset_by_time | R Documentation |
This function take a databframe (e.g. from VMS_get_recs), and can return a subset
of the original records, ensuring that each is at least some amount of time from the previous.
Specifically, by providing a min_minutes
, it will return only those records that are at
least that amount of time apart.
subset_by_time(
df = NULL,
min_minutes = 15,
time_field = "POSITION_UTC_DATE",
group_field = "VR_NUMBER"
)
df |
the dataframe that should be subset |
min_minutes |
the default is |
time_field |
the default is |
group_field |
the default is |
a data.frame
Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca
Other general_use:
DDMMSS_to_DD()
,
DDMMx_to_DD()
,
aggregator()
,
clip_by_poly()
,
combine_lists()
,
df_qc_spatial()
,
df_sf_to_gpkg()
,
df_to_sf()
,
drop_cols()
,
prepare_shape_fields()
,
updateCheck()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.