Read all flight logs in a given folder and merge with data from a selecVideos() data frame by time.

linkFlightToMetadata(
  ROOTfolderpath = NULL,
  flightlog_extension = ".srt",
  selected_videos = NULL,
  flightlog_datetime = NULL,
  timezone = NULL,
  ...
)

Arguments

ROOTfolderpath

full path to folder where all the flight logs to be processed are at (without a final slash). E.g. '/Users/you/Desktop'

flightlog_extension

string. Choose between .srt or .csv file entension.

selected_videos

data.frame from the selectVideos() function.

flightlog_datetime

string with column name of selected_videos containing the date and time.

timezone

string. Add the correct timezone where the drone videos were taken, as per the R base notation (for additional information, see help(timezomes)). Should this argument be left empty, the time zone will be assumed to be the same as the computer system.

...

If flightlog_extension = ".csv", arguments are passed down to read.csv().If flightlog_extension = ".SRT", arguments are passed down to read.table()

Value

A data frame merging information from flight logs to every event exported by the selectVideos() or selectAudios().

Author

Alexandre Machado

Examples