Expand description
Data frame manipulation builtins — merge, subset, transform, with.
These builtins operate on data frames (lists with class “data.frame”).
subset, transform, and with are pre-eval builtins because they need
to evaluate expressions in the context of a data frame’s columns.
split() is in interp.rs since it already existed there.
Statics§
- __
BUILTIN_ 🔒REG_ BUILTIN_ MERGE - __
PRE_ 🔒EVAL_ REG_ PRE_ EVAL_ SUBSET - __
PRE_ 🔒EVAL_ REG_ PRE_ EVAL_ TRANSFORM - __
PRE_ 🔒EVAL_ REG_ PRE_ EVAL_ WITH
Functions§
- build_
data_ 🔒frame - Build a data frame from columns with automatic row names.
- builtin_
merge 🔒 - Merge two data frames by common columns (SQL-style join).
- coerce_
to_ 🔒string_ vec - Coerce an RValue to a character vector of column names.
- df_
col_ 🔒index - Find a column by name in a data frame, returning its index.
- df_
col_ 🔒names - Extract a data frame’s column names from its “names” attribute.
- df_nrow 🔒
- Get the number of rows in a data frame.
- df_
to_ 🔒env - Create a child environment with data frame columns as bindings.
- pre_
eval_ 🔒subset - Subset a data frame by condition and/or column selection.
- pre_
eval_ 🔒transform - Add or modify columns in a data frame.
- pre_
eval_ 🔒with - Evaluate an expression in the context of a data frame.
- resolve_
column_ 🔒selection - Resolve a column selection expression to column indices.
- select_
rows_ 🔒from_ column - Select rows from a column vector based on match pairs.
- subset_
rvalue_ 🔒by_ mask - Subset an RValue column by a boolean mask.
- subset_
vector_ 🔒by_ mask - Subset a vector by a boolean mask (true = keep, false/NA = drop).
- subset_
vector_ 🔒impl - Subset a plain vector by a logical condition.