Skip to content

[Bug]: ADAT02 data setup forces all patients to be post-baseline evaluable #301

@manciniedoardo

Description

@manciniedoardo

What happened?

There is a line in the data setup for ADAT02 where ADAPBLPFL is set to "Y" everywhere, and it's marked as a temp fix:

# Ensure character variables are converted to factors and empty strings and NAs are explicit missing levels.
adsl <- df_explicit_na(adsl)
adab <- df_explicit_na(adab) %>%
  mutate(ADPBLPFL = "Y") %>% # temp fix
  filter(
    ADPBLPFL == "Y",
    !PARAM %in% c(
      "NAB interpreted per sample result",
      "NAB Status of a patient",
      "Treatment enhanced ADA"
    )
  ) 

I assume this shouldn't be there? Took me a while to figure out what was wrong with my data!

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions