Combine and harmonize schemas
unify_schemas(..., schemas = list(...))
| ... | Schemas to unify |
|---|---|
| schemas | Alternatively, a list of schemas |
A Schema with the union of fields contained in the inputs, or
NULL if any of schemas is NULL
a <- schema(b = double(), c = bool()) z <- schema(b = double(), k = utf8()) unify_schemas(a, z) #> Schema #> b: double #> c: bool #> k: string