Skip to content

Commit

Permalink
Merge pull request #239 from cdisc-org/SFJohnson24-patch-2
Browse files Browse the repository at this point in the history
Update match_datasets.md
  • Loading branch information
SFJohnson24 authored Oct 29, 2024
2 parents 419703c + b2f79b4 commit 60449b7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/match_datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ Scope:
```

## Pivoted (Supp/VL) relationship
When 'Is Relationship: True' is specified, the system filters a parent dataset using a supplementary dataset that defines allowed column-value pairs. The supplementary dataset must contain two columns - one specifying which columns to filter in the parent dataset (IDVAR) and another containing the allowed values (IDVARVAL) - enabling complex filtering.

> If your Supp-- dataset looks like below and 'Is Relationship: True', it will 'keep rows where ECSEQ is 100 or 101 AND ECNUM is 105'
```
IDVAR IDVARVAL
ECSEQ 100
ECSEQ 101
ECNUM 105
```
> Record present in SUPPAE where SUPPAE.QNAM=AESOSP and AESMIE != 'Y'
Expand All @@ -117,7 +126,7 @@ Match Datasets:
- Name: SUPPAE
Keys:
- USUBJID
Is Relationship: Y
Is Relationship: true
```

## RELREC Relationship
Expand Down

0 comments on commit 60449b7

Please sign in to comment.