summaryrefslogtreecommitdiffstats
path: root/src/arrow/r/man/unify_schemas.Rd
blob: 50c80c2dda98205b5eceaba6a65aeb296a399e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/schema.R
\name{unify_schemas}
\alias{unify_schemas}
\title{Combine and harmonize schemas}
\usage{
unify_schemas(..., schemas = list(...))
}
\arguments{
\item{...}{\link{Schema}s to unify}

\item{schemas}{Alternatively, a list of schemas}
}
\value{
A \code{Schema} with the union of fields contained in the inputs, or
\code{NULL} if any of \code{schemas} is \code{NULL}
}
\description{
Combine and harmonize schemas
}
\examples{
\dontshow{if (arrow_available()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
a <- schema(b = double(), c = bool())
z <- schema(b = double(), k = utf8())
unify_schemas(a, z)
\dontshow{\}) # examplesIf}
}