insightsengineering / insightsengineering/chevron
Issue with AET01 assertion for DTHFL
Open
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
Assessment
This issue has not been assessed yet.