c.gcod_db: Concatenate 'gcod_db' objects

Description Usage Arguments Details Value

View source: R/db_management.R

Description

Concatenate gcod_db objects

Usage

1
2
## S3 method for class 'gcod_db'
c(..., perspective = "remote")

Arguments

...

objects to be concatenated.

perspective

either "remote" (default) or "local" or "both", for the perspective to use for the extractor function.

Details

If perspective = "remote", then the remote perspectives of ... are concatenated and the local perspective the first object in ... is used. If perspective = "local", then the local perspectives of ... are concatenated and the remote perspective from first object in ... is used. If perspective = "both" then both the local and remote perspectives are concatenated to form the local and the remote perspective of the returned object.

Records with duplicated athlete IDs in the objects being concatenated are replaced, in the concatenated object, by a single record with the most recently modified entry.

The mirror is inherited from the first object supplied for concatenation.

Value

An object of class gcod_db


ikosmidis/GoldenCheetahOpenData documentation built on June 3, 2020, 9:25 a.m.