insightsengineering / insightsengineering/chevron

Issue with AET01 assertion for DTHFL

Open
#779 0 comments 0 reactions 0 assignees View on GitHub
chevron
Dominant language
R
Stars
19
Forks
1
Avg merge
1d 1h
Merged PRs (30d)
1

Description

**Issue**:
Currently `aet01` is causing an assertion error if `ADSL.DTHFL` is missing. Unfortunately this is the standard for `DTHFL` to either be `"Y"` or `NA` so this is regularly failing.

**Proposed Solution**:
Similar to `DCSREAS` pre-processing, add the below to `aet01` pre-processing,
```
adam_db$adsl <- adam_db$adsl %>% mutate(DTHFL= reformat(.data$DTHFL,
missing_rule))
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.