expressions-internal: Crunch expressions internal

expressions-internalR Documentation

Crunch expressions internal

Description

See expressions for more details.

Usage

x %in% table

crunchDifftime(e1, e2, resolution = NULL)

datetimeFromCols(year, month, day, hour = NULL, minute = NULL, second = NULL)

e1 %ornm% e2

## S4 method for signature 'CrunchExpr'
!x

## S4 method for signature 'CategoricalVariable,character'
x %in% table

## S4 method for signature 'CategoricalVariable,factor'
x %in% table

## S4 method for signature 'TextVariable,character'
x %in% table

## S4 method for signature 'NumericVariable,numeric'
x %in% table

## S4 method for signature 'DatetimeVariable,Date'
x %in% table

## S4 method for signature 'DatetimeVariable,POSIXt'
x %in% table

## S4 method for signature 'DatetimeVariable,character'
x %in% table

## S4 method for signature 'CategoricalVariable,numeric'
x %in% table

## S4 method for signature 'CategoricalVariable,numeric'
e1 == e2

## S4 method for signature 'CategoricalVariable,character'
e1 == e2

## S4 method for signature 'CategoricalVariable,factor'
e1 == e2

## S4 method for signature 'CategoricalVariable,numeric'
e1 != e2

## S4 method for signature 'CategoricalVariable,character'
e1 != e2

## S4 method for signature 'CategoricalVariable,factor'
e1 != e2

## S4 method for signature 'CrunchVarOrExpr'
is.na(x)

is.valid(x)

bin(x)

selectCategories(x, selections, collapse = TRUE)

crunchBetween(x, lower, upper, inclusive = c(TRUE, FALSE))

rowAll(x, na.rm = FALSE)

rowAny(x, na.rm = FALSE)

rowAnyNA(x)

rowAllNA(x)

## S4 method for signature 'CrunchVarOrExpr'
complete.cases(x, ...)

## S4 method for signature 'CrunchVarOrExpr'
is.selected(x)

asSelected(x)

selectedDepth(x)

arraySelections(x)

## S4 method for signature 'CrunchVarOrExpr'
nchar(x, type = "chars", allowNA = FALSE, keepNA = NA)

trim(x, min, max)

alterCategoriesExpr(
  x,
  categories = NULL,
  category_order = NULL,
  subvariables = NULL
)

alterArrayExpr(
  x,
  add = NULL,
  order = NULL,
  order_id = c("alias", "name", "id"),
  remove = NULL,
  remove_id = c("alias", "name", "id"),
  subreferences = NULL,
  subreferences_id = c("alias", "name", "id")
)

arraySubsetExpr(x, subvars, subvar_id = c("alias", "name", "id"))

makeFrame(x, numeric = NULL)

Arguments

x, e1, e2

inputs

table, na.rm, upper, lower, inclusive, selections, collapse

cases,data,resolution,year,month,day,hours,minutes,seconds,min,max,categories,category_order, subvariables,remove,remove_id,subreferences,subreferences_id Other parameters used in some functions, see details of expressions for more details.

Value

Most functions return a CrunchExpr or CrunchLogicalExpr. as.vector returns an R vector.


Crunch-io/rcrunch documentation built on April 1, 2024, 1:14 a.m.