arrow_filter: Filter Arrow File Set

View source: R/arrow.R

arrow_filterR Documentation

Filter Arrow File Set

Description

Filter Arrow File Set

Usage

arrow_filter(
  data,
  id_column = "id_contract_analysis",
  regex_features = c("description_obligation", "name_major_program"),
  regex_values = c("PTSD", "GAY", "GENDER STUDIES", "UKRAINE"),
  exact_features = c("code_product_service", "code_research"),
  exact_values = c("1550", "SR3", "ST3"),
  to_upper = TRUE,
  return_arrow = F,
  return_message = T
)

Arguments

return_message

Examples

fpds <- sheldon::arrow_fpds()
arrow_filter(data = fpds, id_column = "id_contract_analysis", regex_features = c("description_obligation", "name_major_program"), regex_values = c("PTSD", "GAY", "GENDER STUDIES", "UKRAINE"), exact_features = c("code_product_service", "code_research"), exact_values = c("1550", "SR3", "ST3"), to_upper = TRUE, return_arrow = F, return_message = T)



abresler/asbtools documentation built on July 28, 2022, 11:04 p.m.