R/schema.R
unify_schemas.Rd
合併與調和模式
unify_schemas(..., schemas = list(...))
Schemas 以進行統一
或者,模式的列表
一個 Schema,其中包含輸入中欄位的聯集;如果 schemas 中有任何一個是 NULL,則為 NULL
Schema
schemas
NULL
a <- schema(b = double(), c = bool()) z <- schema(b = double(), k = utf8()) unify_schemas(a, z) #> Schema #> b: double #> c: bool #> k: string