narrow_default_ptype: Guess prototypes for Arrow schemas

View source: R/default-ptype.R

narrow_default_ptypeR Documentation

Guess prototypes for Arrow schemas

Description

Guess prototypes for Arrow schemas

Usage

narrow_default_ptype(schema)

Arguments

schema

An narrow_schema()

Value

A zero-length array prototype

Examples

narrow_default_ptype(narrow_schema("n"))
narrow_default_ptype(
  narrow_schema("+s", children = list(narrow_schema("i", "colname")))
)


paleolimbot/arrowvctrs documentation built on Oct. 12, 2023, 7 a.m.