Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

match_arrow

match and %in% for Arrow objects


Description

base::match() is not a generic, so we can't just define Arrow methods for it. This function exposes the analogous functions in the Arrow C++ library.

Usage

match_arrow(x, table, ...)

is_in(x, table, ...)

Arguments

x

Array or ChunkedArray

table

Array, ChunkedArray, or R vector lookup table.

...

additional arguments, ignored

Value

match_arrow() returns an int32-type Array of the same length as x with the (0-based) indexes into table. is_in() returns a boolean-type Array of the same length as x with values indicating per element of x it it is present in table.


arrow

Integration to 'Apache' 'Arrow'

v4.0.0.1
Apache License (>= 2.0)
Authors
Neal Richardson [aut, cre], Ian Cook [aut], Jonathan Keane [aut], Romain François [aut] (<https://orcid.org/0000-0002-2444-4226>), Jeroen Ooms [aut], Javier Luraschi [ctb], Jeffrey Wong [ctb], Apache Arrow [aut, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.