Learn R Programming

⚠️There's a newer version (0.1.10) of this package.Take me there.

dunlin: Tools for Clinical Trial Data Wrangling

[![Check

Copy Link

Version

Install

install.packages('dunlin')

Monthly Downloads

435

Version

0.1.9

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Joe Zhu

Last Published

April 14th, 2025

Functions in dunlin (0.1.9)

combine_rules

Combine Two Rules
join_adsub_adsl

Join adsub to adsl
assert_valid_format

Assert Nested List can be used as Format Argument in Reformat.
h_expand_all_datasets

Propagate the rules for all datasets
propagate

Propagate Column
print_log

Print Log
dunlin-package

Dunlin Package
get_arg

Getting Argument From System, Option or Default
poly_pivot_wider

Transforming data.frame with multiple Data Column into Wide Format
multi_id_pivot_wider

Transforming data.frame with Multiple Identifying columns into Wide Format
assert_valid_list_format

Assert List can be Converted into a Nested List Compatible with the Format Argument of Reformat.
cut_by_group

Cutting data by group
list2rules

Convert nested list into list of rule
safe_transformer

Safe transformer
log_filter

Filter Data with Log
get_log

Get Log
h_df_explicit

Encode Categorical Missing Values in a data.frame.
render_safe

Render whiskers safely
rule

Create rule based on mappings
ls_unite

Unite Columns of a Table in a list of data.frame.
ls_explicit_na

Encode Categorical Missing Values in a list of data.frame
remove_whisker

Remove whisker values
reformat

Reformat Values
show_whisker

Show Whisker Values
assert_all_tablenames

Assert that all names are among names of a list of data.frame.
assert_one_tablenames

Assert that at least one name is among table names of a list of data.frame.
attr_label_df

Setting the Label Attribute to Data Frame Columns
co_relevels

Reorder Two Columns Levels Simultaneously
attr_label

Setting the Label Attribute
add_whisker

Add whisker values
combine_list_rules

Combine Rules Found in Lists of Rules.
as.list.rule

Convert Rule to List