Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🩹 don't filter to two first observations in include_hba1c() #202

Merged
merged 7 commits into from
Mar 12, 2025

Conversation

signekb
Copy link
Contributor

@signekb signekb commented Mar 12, 2025

Description

We don’t want to filter to only include the two first observations yet, since they need to go through an exclude_ function first.

I also did some minor changes to the tests (updated to use as_duckdb_tibble() and added dplyr::compute())

Closes #139
Closes #143 (duplicate issues)

signekb added 4 commits March 12, 2025 12:28
These need to go through an exclude function before we slice it.
`as_duckplyr_tibble()` is deprecated.
Without `dplyr::compute()`, `actual` is a query and not a table. This is also why `colnames()` didn't work in the same test.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this added?

@lwjohnst86 lwjohnst86 merged commit d581562 into main Mar 12, 2025
1 check passed
@lwjohnst86 lwjohnst86 deleted the fix/dont-filter-to-two-first-obs-in-include_hba1c branch March 12, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Fix include_hba1c() to not slice by date fix: 🐛 do not slice the data in include_hb1ac()
2 participants