Releases: insightsengineering/teal
Releases · insightsengineering/teal
v0.9.4
- Released
snowflake
connection and connectors. - Changed ordering of datasets to be more intuitive (topologically first for CDISC datasets only and then according to input datasets order).
- When closing a teal app (ending a user shiny session), all
DataConnection
s will now try to close their connections. - Added ADHY keys to configuration file.
- Extended the
filter_spec
function: the parameterchoices
is no longer mandatory (the function will take all possible choices by default) and thevars
parameter additionally accepts thechoices_selected
and allows to change the variables for filtering using the UI elements in the encoding panel. - Cleaned up imports in the package.
- Modified
value_choices
function to handle edge case when"NA"
andNA
values exist in thecharacter
column that choices are derived from.\ - Fixed issue with cloning
Callable
class.
v0.9.3
- Support for data-standard independent input and filtering. That includes refactor of the all data and dataset structures together with refactor of
FilteredData
class. - New
JoinKeys
class (withjoin_keys()
constructors andjoin_key()
constructor for its elements) to store joining key columns between datasets. - Refactored the most basic
dataset()
constructor, addedcdisc_dataset()
constructor andas_cdisc()
conversion function. - Soft-deprecate removed class constructors and obsolete functions (e.g.
keys()
). - Added
get_keys()
andset_keys()
functions to extract and manipulate datasets primary keys respectively. - Unexported
filtered_data_new
,filtered_data_set
andfiltered_data_set_filters
. - Duplicated lines of code passed to
teal::cdisc_dataset
and otherteal::RelationalDataset
constructors should now be shown when getting the code fromteal::cdisc_data
objects and otherteal::RelationalData
objects. - Added ability to press "Enter" key without having to set focus to the Submit button for delayed data loading.
- Allow
variable_choices
to use datasets with missing labels. - Fixed bug that ignores input of
NULL
toselected
argument ofselect_spec
function. - Added button to remove all active filters from the Filter Panel.
v0.9.2
- Added
python_dataset_connector
to create delayed data objects from python scripts or directly from python code. - NOTE:
python_dataset_connector
is not yet ready to be deployed on RSConnect because it does not containnumpy
andpandas
, which arePython
libraries used inpython_dataset_connector
. - Added support for filtering on
Date
andDatetime
variables in the Filter Panel. - Added buttons for
date
anddatetime
filter widgets to reset the value to the original. - Added new function
check_key_duplicates
, which creates a short summary about rows with duplicated primary key (row numbers and the number of duplicates) - Fixed lack of labels for
character
andfactor
variables in the Filter Panel. - All variables are now displayed in
module_filter_panel
, not only those of typesnumeric
,logical
,factor
,character
andDate
- Fixed
mutate_data
to accept the whole scope of objects forvars
. - Clarified
teal::init
function documentation to state that custom css loading code withhtmltools::htmlDependency
should be included in theheader
argument rather than insideui
arguments of modules. - Enabled empty select field inside
data_extract_spec
. - Added new argument
drop_keys
tofilter_spec
to decide whether to drop or keep keys columns on single filter on those columns. - Added a new optional argument
keys
tovariable_choices
.keys
specifies the names of the variables, which should have the new key icon shown next to them in the variable drop down menus in the left-hand side encoding panels instead of the icon appropriate for their original R variable type.variable_choices
now also works withRelationalDataset
andRelationalDatasetConnector
objects. - Removed
include_factors
option inget_class_colnames
inRawDataset
.
v0.9.1
- Adds method to resolve nested lists containing delayed data objects, which can be used for
arm_ref_comp
objects. - Nested tabs module now has better alignment with the filter panel on the page.
- Allow
width
argument inoptionalSelectInput
. - Added lifecycle badges to all exported functions.
- Added new
code_dataset_connector
andcode_cdisc_dataset_connector
functions which enable the creation of new delayed data objects given a string of code. - Added new functions
csv_dataset_connector
andcsv_cdisc_dataset_connector
. - Updated
set_ui_input
method ofRawDatasetConnector
andNamedDatasetConnector
to handle user defined shiny inputs. - Include
Keep Inf
checkbox for numerical filter items.Keep NA
andKeep Inf
checkbox doesn't appear if there are no missing or infinite values. - Replace existing
RelationalData
class with abstract classRelationalDataCollection
and renameRelationalDataList
class asRelationalData
. Thedata
argument toteal::init
is now always aRelationalData
object. - Added
fun_cdisc_dataset_connector
to enable providing a custom function which returning a dataset. - Removed
code
andscript
arguments fromas_relational
wrapper. This is intended to be done withmutate_dataset
functionality. filer
argument ininit
has added a validation step to ensure compatibility with the rest of the app. Variables inherited from ADSL have to be specified only for ADSL dataset.- Fixes the issue with connection close code not being present in
get_code
results. - Fixes the issue of occasional incorrect ordering of bar charts on the filter panel.
- More informative error displayed when
pull_fun
ofDataConnection
produces an error.
v0.8.3
- Enable
teal
app to initialize without data. The data are then loaded from within the teal app. - New classes (
DatasetConnector
,DataConnector
) to connect to various data sources, including:
* connector torice
API -rice_cdisc_data
andrice_dataset
* connector toRDS
files -rds_data
andrds_dataset
- Message appears at bottom right of Shiny app when Shiny is busy to update the views.
- Remove
labels
argument ofcdisc_data
function. Labels should now already be present in the data passed to thecdisc_data
function. This can be achieved using thevar_relabel
function.