The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
CbFilterDiscrete, CbFilterRange)
with dual dispatch on (filter_class, source_class). Properties are
accessed via @ instead of closure environments. New S7
generics: cb_filter_data(),
cb_get_filter_stats(), cb_plot_filter_data(),
cb_get_filter_data(),
cb_get_filter_defaults(),
cb_filter_to_expr().def_filter(), new_filter(), and
.as_constructor() — replaced by S7 constructors.%>% to native pipe
|>. Requires R >= 4.1.0.Cohort$new() cache argument is now
compute_stats, the propagate_domains mode
"cache" is now "stats", and the
get_cache()/update_cache() methods are now
get_stats()/update_stats(). The previous
live-computation method Cohort$get_stats() (used by
stat()) is now calc_stats().register_filter_type(), enabling extensions without
modifying core package code.describe() helper to attach metadata (descriptions)
to datasets and filters. describe() also accepts a
label argument; when set on a variable,
autofilter() reuses it as the generated filter’s
name.shape() filter entries now include a name
field, and the description field combines the filter- and
variable-level descriptions.shape() generic extracts structured filter/dataset
metadata from a source, including statistics (min/max for range, choices
for discrete).autofilter() generic auto-generates filters based
on column types (character/factor → discrete, numeric → range, Date →
date_range, POSIXct → datetime_range). Supports
attach_as = "step" (add as filtering step) or
attach_as = "meta" (store as available filters)..class parameter in tblist() to
prepend custom S3 classes for method dispatch customization.pending status — only pending steps
trigger statistics recalculation, improving performance for multi-step
workflows.update_filter() now supports pre/post hooks via
hook_args.Cohort$new() propagate_domains
argument controls how filter domains are narrowed between steps:
"none" (default), "filter" (from previous step
filter values), "stats" (from stored statistics; requires
compute_stats = TRUE), or "data" (scan
filtered data; the stats-free equivalent). Backed by the
.propagate_domains() source method and the S7 generics
cb_intersect_domain(),
cb_intersect_domain_values(),
cb_domain_from_stats(), and
cb_domain_from_data(). Filter values are now intersected
against their domain (with trimming messages) before filtering.set_source() gains a compute_meta_stats
argument (default from the cb.source_filters_meta_stats
option) controlling whether metadata statistics for
available_filters are pre-computed; when
FALSE, filter domains fall back to live computation.
Sources also accept an available_filters definition
directly.id =.cb_tool() system for defining LLM-compatible tool
specifications (requires ellmer).cb_tool_filters_meta(),
cb_tool_add_filters(),
cb_tool_set_filter_values(),
cb_tool_apply_filters() (combined add + set values).cb_register_tool() and cb_register_tools()
register tools with an ellmer chat object.options(cb_tool_verbose = TRUE), which logs the invoked
tool and its arguments via message(). Logging is off by
default (replaces earlier unconditional print() debug
output).collapse for binding operations (joins), with
verbose option for diagnostics.breaks argument for date_range filter
plots.cohort() now exposes the compute_stats and
propagate_domains arguments, and
add_filter()/rm_filter() now expose and
forward the hook argument (previously these were silently
ignored).source-intelligence vignette
covering describe(), autofilter(),
shape(), and the AI/LLM tools.dplyr::across
and dplyr::cur_column anymore.get_cache method computes cache when called (and the
related cache was missing).datatime_filter that handle POSIXct type.collapse::funique.%in% with custom operator using
collapse::fmatch, that seems to be more efficient."query" that allows to configure
complex filtering rules with queryBuilder package..print_filter method responsible for
printing filter values when calling sum_up on cohort..repro_code_tweak method.tblist source reproducible code is now using pipe
chains for each dataset filtering..post_binding method, that allows to modify data
object when binding is completed.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.