combine_data: Combine data between receivers and across telemetry flights

Description Usage Arguments Examples

View source: R/combineData.R

Description

Combine data between receivers and across telemetry flights

Usage

1
combine_data(df_list, source_vec = NA)

Arguments

df_list

A list of data.frames to merge. The list will be the output of read_flight_data, channels_merge, or replace_date.

source_vec

A vector of strings to specify the source of each data.frame in the list. The ordering of df_list and source_vec should coorespond (eg: to merge list(belly_df, wing_df), use source_vec=c("belly", "wing")).

Examples

1
2
3
4
5
names(raw_data)
source_vec <- c(rep(c("belly","wing"), 10), rep(c("wing","belly"),2), c("belly","wing"))
source_vec
all_data <- combine_data(raw_data, source_vec)
head(all_data)

jBernardADFG/telprep documentation built on July 26, 2020, 2:17 a.m.