Learn R Programming

teal.transform

[![Check

Copy Link

Version

Install

install.packages('teal.transform')

Monthly Downloads

279

Version

0.6.0

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Dawid Kaledkowski

Last Published

February 12th, 2025

Functions in teal.transform (0.6.0)

call_with_colon

Create a call using a function in a given namespace
calls_combine_by

Combine calls by operator
check_selector_dataname

Check selector dataname element
check_selector_reshape

Check selector reshape element
check_data_extract_spec

Check data extract specification
check_selector_filters

Check selector filters element
data_extract_filter_srv

Handles events emitted from the UI generated by data_extract_filter_ui
data_extract_read_srv

Returns a reactive list with values read from the inputs of data_extract_spec
check_data_extract_spec_react

Function to check data_extract_specs
data_extract_select_ui

Returns a shiny.tag.list object with the UI for a select_spec object
check_selector_internal_id

Check selector internal_id element
check_selector_keys

Check selector keys element
convert_teal_data

Ensures datasets is a list of reactive expression
compose_and_enable_validators

Function to compose validators from data_extract_multiple_srv
get_dataset_prefixed_col_names

Returns non-key column names from data
data_extract_srv

Extraction of the selector(s) details
data_extract_spec

Data extract input for teal modules
data_extract_ui

teal data extraction module user-interface
datanames_input

Help text with available datasets input
check_selector_select

Check selector select element
get_anl_relabel_call

Gets the relabel call
get_extract_datanames

Gets names of the datasets from a list of data_extract_spec objects
format_data_extract

Formatting data extracts
check_no_multiple_selection

Checks that the extract_input specification does not allow multiple selection
check_selector

Check selector
data_extract_single_srv

The server function for a single data_extract_spec object
cond_data_extract_single_ui

Creates a panel that displays (with filter and column selection) conditionally on input[ns("dataset")] == dataname
get_filter_call

Build a dplyr filter call
filter_spec

Data extract filter specification
get_reshape_unite_col

Get unite columns
get_merge_key_pair

Gets keys vector from keys list
data_extract_single_ui

Returns a shiny.tag with the UI elements for a data_extract_spec
get_dplyr_call

Parses filter, select, rename and reshape call
filter_spec_internal

Data extract dynamic filter specification
choices_selected

Choices selected
choices_labeled

Set "<choice>:<label>" type of names
data_extract_multiple_srv

Creates a named list of data_extract_srv output
get_reshape_unite_vals

Get unite columns values
get_merge_key_grid

Gets merge key pair list from keys list
data_extract_filter_ui

Returns a shiny.tag object with the UI for a filter_spec object
delayed_choices

Bare constructor for delayed_choices object
get_pivot_longer_col

Get pivot longer columns
extract_choices_labels

Extract labels from choices basing on attributes and names
get_merge_key_i

Gets keys needed for join call of two selectors
get_rename_call

Returns dplyr rename call
get_relabel_call

Create relabel call from named character
get_dropped_filters

Names of filtered-out filters dropped from selection
get_select_call

Parse dplyr select call
get_relabel_cols

Get columns to relabel
parse_merge_key_i

Parses merge keys
reexports

Objects exported from other packages
get_dplyr_call_data

Aggregates data extract selectors
is_single_dataset

Verify uniform dataset source across data extract specification
get_reshape_call

Returns dplyr reshape call
include_css_files

Include CSS files from /inst/css/ package directory to application header
validate_keys_sufficient

Validates whether the provided keys are sufficient to merge the datasets slices
merge_expression_module

Merge expression module
split_by_sep

Split by separator (matched exactly)
merge_expression_srv

Data merge module server
id_for_dataset

Generate id for dataset
merge_selectors

Merge selectors when dataname, reshape, filters and keys entries are identical
get_initial_filter_values

Returns the initial values for the vals widget of a filter_spec object
get_merge_call

Get merge call from a list of selectors
value_choices

Value labeling and filtering based on variable relationship
teal.transform-package

teal.transform: Functions for extracting and merging data in the teal framework
resolve_delayed_expr

Resolve expression after delayed data are loaded
select_spec

Column selection input specification
list_extract_spec

Make sure that the extract specification is in list format
merge_datasets

Merge the datasets on the keys
resolve

Resolve delayed inputs by evaluating the code within the provided datasets
variable_choices

Variable label extraction and custom selection from data
resolve_delayed

Resolve delayed inputs by evaluating the code within the provided datasets
no_selected_as_NULL

Check select choices for no choice made
call_condition_logical

logical variable condition call
call_condition_range

numeric range condition call
Queue

R6 Class - A First-In-First-Out Abstract Data Type
call_condition_choice

Choices condition call
call_condition_range_date

Date range condition call
call_extract_array

Get call to subset and select array
call_condition_range_posixct

POSIXct range condition call
add_no_selected_choices

Add empty choice to choices selected
check_merge_function

Check if the merge function is valid
check_data_merge_selectors

Validate data_extracts in merge_datasets
call_extract_list

Compose extract call with $ operator
call_check_parse_varname

Checks varname argument and convert to call
are_needed_keys_provided

Checks whether the provided slices have the corresponding join keys
call_extract_matrix

Get call to subset and select matrix