combine_track_stores: combine two (summary,track) tbl pairs

Description Usage Arguments Details Value See Also

View source: R/gps_tracklibs.R

Description

combine_track_stores Combine two (summary,track) data pairs. When both sets have data for the same date and time, the first is used unless overidden.

Usage

1
2
3
4
5
6
7
combine_track_stores(
  primary_sums,
  primary_tracks,
  secondary_sums,
  secondary_tracks,
  prefer_secondary = ""
)

Arguments

primary_sums

tbl of ride summaries created from gpx and/or fit files

primary_tracks

tbl of ride tracks created from gpx and/or fit files

secondary_sums

tbl of ride summaries created from gpx and/or fit files

secondary_tracks

tbl of ride tracks created from gpx and/or fit files

prefer_secondary

vector of strings specifying times to use data from secondary pair even if present in primary. format is "YYYYMMDDHHMMSS", where YYY is the 4 digit year, MM is the 2 digit month, DD is the 2 digit day of month, HH is the 2 digit (0-23) hour of day, MM is 2 digit minutes and SS is 2 digit seconds

Details

Combine two (summary,track) tbl pairs,using data the first of the pairs for rides starting at the same time on the same day, with exceptions specifiable. Typically this is to prefer data from a .fit file over data from a .gpx file corresponding to the same ride.

Value

a list of two tbls containing the combined summaries and tracks

See Also

read_ride


CraigMohn/bikeCadHr documentation built on Dec. 3, 2020, 2:31 a.m.