dot-guess_object_field_spec_expand_fields_df: Expand an object list into a tib_df spec

.guess_object_field_spec_expand_fields_dfR Documentation

Expand an object list into a tib_df spec

Description

Expand an object list into a tib_df spec

Usage

.guess_object_field_spec_expand_fields_df(
  value,
  empty_list_unspecified,
  simplify_list,
  local_env,
  ...,
  tib_fn = tib_df
)

Arguments

value

(list) An object list whose fields will be guessed.

empty_list_unspecified

(logical(1)) Treat empty lists as unspecified?

simplify_list

(logical(1)) Should scalar lists be simplified to vectors?

local_env

(environment) A local environment used to track state across recursive calls, such as whether empty lists were encountered.

...

Additional arguments passed to tib_fn.

tib_fn

(function) The tib constructor to wrap the fields in; defaults to tib_df().

Value

A tib_df() spec, with .names_to set when value is named and non-empty.


tibblify documentation built on May 9, 2026, 5:07 p.m.