Man pages for cohortBuilder
Data Source Agnostic Filtering Tools

add_filterAdd filter definition
add_sourceAdd source to Cohort object.
add_stepAdd filtering step definition
attritionShow attrition plot.
autofilterGenerate filters definition based on the Source data
binding-keysDescribe data relations with binding keys
cb_domain_from_dataExtract domain from data
cb_domain_from_statsExtract domain from stored filter statistics
CbFilterBase class for all cohortBuilder filters
cb_filter_dataApply filter to data object
CbFilterDateRangeDate range filter class
CbFilterDatetimeRangeDatetime range filter class
CbFilterDiscreteDiscrete filter class
CbFilterDiscreteTextDiscrete text filter class
CbFilterMultiDiscreteMulti-discrete filter class
CbFilterQueryQuery filter class
CbFilterRangeRange filter class
cb_filter_to_exprGenerate reproducible code expression for filter
cb_get_filter_dataGet filter-related data
cb_get_filter_defaultsGet filter default values
cb_get_filter_statsGet filter statistics
cb_intersect_domainGet effective filter value after domain intersection
cb_intersect_domain_valuesIntersect two domain values for a filter type
cb_plot_filter_dataPlot filter data
cb_register_toolRegister cohortBuilder tools with an ellmer chat
cb_toolCreate a cohortBuilder tool definition
cb_tool_add_filtersCreate a tool for adding filters to a cohort
cb_tool_apply_filtersCreate a tool that adds filters and sets their values in one...
cb_tool_clear_filtersCreate a tool for resetting filters to defaults
cb_tool_describe_stateCreate a tool returning the current cohort state
cb_tool_filters_metaCreate a tool returning available filters metadata
cb_tool_get_codeCreate a tool returning reproducible filtering code
cb_tool_get_data_summaryCreate a tool returning row counts per dataset and step
cb_tool_remove_filtersCreate a tool for removing filters from the cohort
cb_tool_remove_stepCreate a tool for removing the last step
cb_tool_runCreate a tool for running the cohort pipeline
cb_tool_set_filter_valuesCreate a tool for setting filter values
cb_tool_toggle_filtersCreate a tool for activating or deactivating filters
codeReturn reproducible data filtering code.
CohortR6 class representing Cohort object.
cohortBuilder-packageCreate data source cohort
cohort-methodsCohort related methods
create-cohortCreate new 'Cohort' object
data_keyDefine Source dataset key
describeCreate a description object
descriptionShow source data or filter description
dot-default_filter_idGenerate a deterministic filter ID from dataset and variable...
dot-default_filter_nameGenerate a default filter display name from its variables.
dot-filter_registryEnvironment storing registered filter type constructors.
dot-gen_idGenerate random ID
dot-get_itemReturn list of objects matching provided condition.
dot-get_methodGet function definition
dot-if_valueReturn default value if values are equal
dot-print_filterMethod for printing filter details
dot-propagate_domainsPropagate domains between steps
filterDefine Cohort filter
filter_domainGet a filter's domain
filter_effective_valueGet a filter's effective value
filter_variablesGet the variables a filter operates on
get_dataGet step related data
get_filter_paramsGet filter parameters as a list
get_stateGet Cohort configuration state.
grapes-greater-than-grapesOperator simplifying adding steps or filters to Cohort and...
hooksCohort hooks.
librarianSample of library database
managing-cohortManaging the Cohort object
managing-sourceManaging the Source object
plot_dataPlot filter related Cohort data.
primary_keysDefine Source datasets primary keys
register_filter_typeRegister a custom filter type
restoreRestore Cohort object.
rm_filterRemove filter definition
rm_stepRemove filtering step definition
runTrigger data calculations.
set_sourceCreate Cohort source
shapeDescribe the structure of a source
SourceR6 class representing a data source
source-layerSource compatibility methods.
statGet Cohort related statistics.
stepCreate filtering step
sum_upSum up Cohort state.
tblistCreate in memory tables connection
tblist_classS7 class wrapper for the 'tblist' source
update_filterUpdate filter definition
update_sourceUpdate source in Cohort object.
cohortBuilder documentation built on July 3, 2026, 9:07 a.m.