coerce_dt: Recursively coerce a list to a flat data table, correctly...

View source: R/dt.inflix.R

coerce_dtR Documentation

Recursively coerce a list to a flat data table, correctly naming columns.

Description

Recursively coerce a list to a flat data table, correctly naming columns.

Usage

coerce_dt(l, ix = NULL, names = TRUE)

Arguments

l

List to coerce.

ix

Numeric vector. Vector of nested indices to extract recursively.

names

Logical. Preserve names?

Value

Data table with non-coercible objects elided.


andrewrech/dt.inflix documentation built on Sept. 18, 2023, 12:56 p.m.