-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
update vignettes #705
update vignettes #705
Conversation
Code Coverage Summary
Results for commit: 12e45bf Minimum allowed coverage is ♻️ This comment has been updated with latest results |
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.
-
You need to update the articles list in the pkgdown_yml file
-
At the bottom of the including -x-data-in-teal vignettes we should have a link to here
and dataset connector. These can be specified on the most general dataset constructor `dataset` as | ||
shown below. | ||
|
||
```{r} | ||
```{r, message=FALSE} | ||
library(teal) | ||
library(scda) | ||
|
||
# specify keys x and y on a general dataset | ||
dataset("x", data.frame(x = c(1, 1:9), y = 2:11, z = 1), keys = c("x", "y")) | ||
|
||
# or for ADSL | ||
# specify keys for ADSL using dataset | ||
adsl <- synthetic_cdisc_data("latest")$adsl | ||
dataset("ADSL", adsl, keys = c("STUDYID", "USUBJID")) | ||
dataset_adsl <- dataset("ADSL", adsl, keys = c("STUDYID", "USUBJID")) | ||
class(dataset_adsl) |
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.
Do we really want users to care about this? Surely we want them to use cdisc_dataset (so they get a parent) - and they can specify a keys argument there?
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.
only cdisc_dataset
example is kept.
|
||
Note that it is assumed that join keys are symmetric, i.e. `join_key("x", "y", "x_col" = "y_col")` will enable merge | ||
from "x" to "y" and vice versa. | ||
If you want to learn more about basics of join keys, please refer to `vignette("join-keys", package = "teal.data")`. |
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.
Do we want it to be a vignette call or a link to the github pages?
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.
replaced by this:
For more information about preprocessing, reproducibility, relationships between datasets and DDL, please refer to the `teal.data.` [vignette](https://insightsengineering.github.io/teal.data)
@@ -38,7 +38,7 @@ For more information, see documentation in `teal.data`. | |||
To learn more about DDL, visit `vignette("delayed-data-loading", package = "teal.data")`. All the features of DDL |
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.
we should also mention specifying relationships between datasets can be included - see join_keys vignette for details
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.
For more information about preprocessing, reproducibility, relationships between datasets and DDL, please refer to the `teal.data.` [vignette](https://insightsengineering.github.io/teal.data)
added
|
||
```{r} | ||
```{r, eval = FALSE} |
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.
line 41 there's a space before the comma. And I think in line 39 we should refer to tmh specifically as modules which do work with MAE data
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.
done
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.
Looking good - a few tweaks and this can go in
@@ -76,3 +76,5 @@ if (interactive()) { | |||
shinyApp(app$ui, app$server) | |||
} | |||
``` | |||
|
|||
For more information about preprocessing, reproducibility, relationships between datasets and DDL, please refer to the `teal.data.` [vignette](https://insightsengineering.github.io/teal.data) |
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.
For more information about preprocessing, reproducibility, relationships between datasets and DDL, please refer to the `teal.data.` [vignette](https://insightsengineering.github.io/teal.data) | |
For more information about preprocessing, reproducibility, relationships between datasets and DDL, please refer to the [`teal.data` package](https://insightsengineering.github.io/teal.data) |
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.
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.
Same in other vignettes
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.
done.
@@ -37,5 +37,7 @@ if (interactive()) { | |||
``` | |||
|
|||
The filter panel supports `MAE` data out of the box, but `teal` itself does not guarantee that any module will work with `MAE` data the same way it works with other types of data (e.g. `ADaM`) because `MAE` has a unique structure that needs to be considered when developing a module. | |||
The package [`teal.modules.hemres`](https://github.com/insightsengineering/teal.modules.hermes) has been specifically developed for the |
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.
Refer to github pages not repo?
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.
done.
part of #700
join_keys
andpreprocessing data
vignettes toteal.data
[XXX()]
withXXX