-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor functions internally #273
Conversation
'dplyr::n_distinct(.data$subject_id)' | ||
) |> | ||
rlang::set_names(c("count_records", "count_subjecst", "count_subjects")) |> | ||
purrr::keep(c("records", "person_id", "subject_id") %in% counts) |> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is count_subjecst a typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, its is just that I allow to be person_id or subject_id but the resulting estimate will be always "number of subjects". At the end the second on dplyr::n_distinct(.data$subject_id) it is not used, so we can delete it if we want
No description provided.