Sample Based Value/Attribute Classifier

sample_based_classifier(
  x,
  ...,
  value_sample,
  attribute_sample,
  empty_sample,
  partial_match = FALSE,
  case_insensitive = FALSE,
  verbose = FALSE
)

# S3 method for default
sample_based_classifier(
  x,
  ...,
  value_sample = NULL,
  attribute_sample = NULL,
  empty_sample = NULL,
  partial_match = FALSE,
  case_insensitive = FALSE,
  verbose = FALSE
)

# S3 method for cell_df
sample_based_classifier(
  x,
  ...,
  value_sample,
  attribute_sample,
  empty_sample,
  partial_match = FALSE,
  case_insensitive = FALSE,
  verbose = FALSE
)

Arguments

x

Either a cell_df or leave blank for function output (required by value_attribute_classify)

value_sample

Sample of values (an optional character vector)

attribute_sample

Sample of attribute (an optional character vector)

empty_sample

Sample of empty cells (an optional character vector)

partial_match

Logical scalar indicating whether partial match is allowed. (Default FALSE)

case_insensitive

Logical scalar indicating whether match will be case insensitive. (Default FALSE)

verbose

Logical scalar for printing discovered cells (which gets new type by this rule)

See also