unify_schemas function

Combine and harmonize schemas

Combine and harmonize schemas

unify_schemas(..., schemas = list(...))

Arguments

  • ...: Schema s to unify
  • schemas: Alternatively, a list of schemas

Returns

A Schema with the union of fields contained in the inputs, or NULL if any of schemas is NULL

Examples

a <- schema(b = double(), c = bool()) z <- schema(b = double(), k = utf8()) unify_schemas(a, z)
  • Maintainer: Jonathan Keane
  • License: Apache License (>= 2.0)
  • Last published: 2025-02-26