add_TimeSync: Add a TimeSync variable

Description Usage Arguments Value

View source: R/add_TimeSync.R

Description

The OPTA and ChyronHego datasets don't share a common clock. OPTA data is recorded in seconds and ChyronHego data is recorded at 25 frames a second. The addition of a TimeSync variable to the events dataframe allows the two dataframes to be synced and linked together easier with a common clock.

Usage

1
add_TimeSync(events, metaDF)

Arguments

events

An events dataframe created from the 'parse_f24' function

metaDF

An tracking metadata dataframe created from the 'parse_CH_metadata' function

Value

An events dataframe with the added TimeSync variable


FCrSTATS/fc.rstats documentation built on July 18, 2019, 5:08 a.m.