rbindfill: Row-bind tables, filling missing columns

View source: R/primitives.R

rbindfillR Documentation

Row-bind tables, filling missing columns

Description

Combine data frames by row, filling columns that are missing from some inputs with NA.

Usage

rbindfill(..., id = NULL, fill = TRUE, typeconflict = c("error", "coerce"))

Arguments

...

Data frames to combine, or a single list of them.

id

Optional name for a source identifier column recording which input each row came from.

fill

Fill missing columns with NA instead of erroring when inputs have different columns.

typeconflict

How to handle a column whose type differs across inputs. "error" (the default) stops with a message naming the column and the conflicting types before any coercion happens. "coerce" skips the check and allows ordinary vector coercion while binding.

Value

A combined basetable.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.