- Added extended function of
quietargument inspec_to_metacore(),define_to_metacore(), andselect_datasetfunctions to suppress optional messages, notes and warnings #122 keepvariable inds_varstable has been changed tomandatoryto better reflect the CDISC standard terminology.
- Hotfix import
cli_alert_infoissue from {cli} package.
select_dataset()now creates a subsetted metacore object that is a subclass ofMetacorecalledDatasetMeta.- Objects of
DatasetMetasubclass will be expected as input to {metatools} functions going forward. - Print statement updated for both combined Metacore and subsetted DatasetMeta objects. This should be more informative and highlight the difference between the two object types (i.e., all datasets vs. single dataset).
- Errors and warning messages improved throughout.
- Bugfix issue in value_spec creation caused by VLM #108
- Add
get_keysfunction which returns the dataset keys for a given dataset #102 - Fix issues with
select_dataset(simplify = TRUE)#97
- Update to resolve issues from the dplyr updates
- Add variable cross checks to check consistent use of label, type, and format
- Add
is_metacore()function to check if it is a metacore object - #64 Resolve issue so define and spec readers work when value levels are empty
- Updates for latest version of {tidyselect}
- Move from XML to xml2 for define.xml processing
- Correct issue with warning on ds_var$core
- Correct bug with not reading the derivation of predecessor and assigned variables correctly
- Correct typos
- Limits origin value/make all origins lower case
- #47 Improve
yn_to_tf()to be more robust in parsing yes/no columns
- Adds a supp table to store the
idvarandqevalinformation - Adds
sig_digcolumn to thevalue_spectable
- Fixes bugs found in the
get_control_termfunction and improves error messages forget_control_term - Improves internal naming consistency by renaming
define_to_MetaCoretodefine_to_metacore - Adds quiet option to readers, to allow users to optionally ignore the reader warnings
- Creates new example metacore object that is an .rda so much faster to read in
- Fixes issue with select dataset when variables are duplicated
This fixes the following issues:
- #16 the metacore function now accepts any empty datasets and creates an empty dataset with the correct column names and types
- #10 yn function checks for logicals and returns them
- #11 updated function description to make this clearer
- #12 updated regex so to "[F|f]ormat" so it can accept lower case
- #14 added supp_flag to ds_vars (on a side note we did a really good job with this it was super easy to change and only required a few edits)
- #15 modified create_tbl so if there are two potential matches in the same dataset and one is an exact match it uses that
Additionally, it adds the get_control_term function to get pull out the control term for a given variable.