-
Notifications
You must be signed in to change notification settings - Fork 68
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
Closes #2142 Supersede get_summary_records()
and enhance derive_summary_records()
#2158
Changes from 19 commits
1b7e9ab
c06bc8c
6050dc9
13cbdba
836cb0a
e5a01a3
0e6ec6c
70836b5
346f595
19001b5
5a6263e
843d852
2ea2c50
252e3c2
bf9470f
1adf60c
7ba57b6
fc7e5f3
ef2ac94
4210f7e
053a419
0b4ef60
b61cc15
d27bba1
6ee8500
19ced77
48cbbc6
53bdf63
affe938
a15e58a
00ae97a
5c690f7
01bc54d
0f7a8ab
eaf9892
5c3748a
89a673e
3794c1d
85f4f9e
b3fc993
2f24282
b6d61b6
a0dc08a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,6 +1,13 @@ | ||||||
#' Create Summary Records | ||||||
#' | ||||||
#' @description | ||||||
#' | ||||||
#' `r lifecycle::badge("superseded")` | ||||||
#' | ||||||
#' Development on `get_summary_records()` is complete, and for new code we recommend | ||||||
#' switching to using the `dataset_add` argument in `derive_summary_records()`, | ||||||
#' which is easier to use, has more features, and still under active development. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we should say easier to use and under active development. I think this is fine: #' Development on There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed |
||||||
#' | ||||||
#' It is not uncommon to have an analysis need whereby one needs to derive an | ||||||
#' analysis value (`AVAL`) from multiple records. The ADaM basic dataset | ||||||
#' structure variable `DTYPE` is available to indicate when a new derived | ||||||
|
@@ -64,9 +71,9 @@ | |||||
#' | ||||||
#' @return A data frame of derived records. | ||||||
#' | ||||||
#' @family der_gen | ||||||
#' @family superseded | ||||||
#' | ||||||
#' @keywords der_gen | ||||||
#' @keywords internal | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I made a superseded section on the reference page.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed |
||||||
#' | ||||||
#' @seealso [derive_summary_records()], [derive_var_merged_summary()] | ||||||
#' | ||||||
|
@@ -154,7 +161,7 @@ get_summary_records <- function(dataset, | |||||
filter = NULL, | ||||||
analysis_var, | ||||||
summary_fun, | ||||||
set_values_to) { | ||||||
set_values_to = NULL) { | ||||||
assert_vars(by_vars) | ||||||
filter <- assert_filter_cond(enexpr(filter), optional = TRUE) | ||||||
assert_data_frame( | ||||||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 the
that
supposed to have something after it?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.
fixed