Learn R Programming

dunlin: Tools for Clinical Trial Data Wrangling

[![Check

Copy Link

Version

Install

install.packages('dunlin')

Monthly Downloads

484

Version

0.1.12

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Joe Zhu

Last Published

December 1st, 2025

Functions in dunlin (0.1.12)

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
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
print_log

Print Log
subject_level_flag

Create Subject-level Flag from Long Data
show_whisker

Show Whisker Values
rule

Create rule based on mappings
safe_transformer

Safe transformer
attr_label

Setting the Label Attribute
assert_valid_format

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

Setting the Label Attribute to Data Frame Columns
co_relevels

Reorder Two Columns Levels Simultaneously
assert_valid_list_format

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

Add whisker values
as.list.rule

Convert Rule to List
combine_list_rules

Combine Rules Found in Lists of Rules.
assert_one_tablenames

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

Assert that all names are among names of a list of data.frame.
dunlin-package

Dunlin Package
get_arg

Getting Argument From System, Option or Default
combine_rules

Combine Two Rules
list2rules

Convert nested list into list of rule
cut_by_group

Cutting data by group
log_filter

Filter Data with Log
get_log

Get Log
h_expand_all_datasets

Propagate the rules for all datasets
h_df_explicit

Encode Categorical Missing Values in a data.frame.
reformat

Reformat Values
remove_whisker

Remove whisker values
propagate

Propagate Column
render_safe

Render whiskers safely
join_adsub_adsl

Join adsub to adsl