combine_tables: Combine several tables into a single table

View source: R/combine_tables.R

combine_tablesR Documentation

Combine several tables into a single table

Description

Combine several tables into a single table

Usage

combine_tables(..., by, fun = combine_dplyr("full_join", by = by),
  allow_constants = FALSE)

Arguments

...

tables (data.frames or tbl_dfs) to combine. These may be unitted if fun is prepared for unitted tables. Tables are joined left to right. e.g., if dots are A, B, C then the result is fun(fun(A,B),C)

by

character. The columns[s] on which to join the tables. Good choices are 'DateTime' for timeseries data or 'site_name' for site metadata.

fun

the combining function to apply to pairs of tables in the iterative join.

allow_constants

logical. if TRUE, tables with NA in their by column

Value

a joined function


USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.