Skip to content

String comparisons should be more helpful when differences occur at the end of the string #149

@MichaelTuchman

Description

@MichaelTuchman

It's a common use case that often the string values, particularly in PARAM fields in ADaM datasets have their important differences appear only late in the string.

A = data.frame(PARAM="Change from Baseline in Systolic Blood Pressure at Week 12")
B = data.frame(PARAM="Change from Baseline in Systolic Blood Pressure at Week 24")

In those cases, variable differences are more visible with output like the below: This is not something easily obtained by fiddling with the string lengths for the outputs.

VARIABLE REC    BASE                                    COMPARE
----------   ----   --------------------------       --------------------------
PARAM       1       ... sure at Week 12               ... sure at Week 24

I realize why such a change would not be advisable early in development, but it seems useful. The hardest part is limiting scope so the output isn't too general, and possibly too cryptic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions