Idea for targets / targetopia package #558
Replies: 1 comment 1 reply
-
Your proposal feels almost like a domain-specific language for hypothesis testing in epidemiology workflows, which seems appealing. I do not personally plan to write such an extension myself, but this sort of thing is possible using the recommendations at https://wlandau.github.io/targetopia/contributing.html. As you mentioned, the goal would be to abstract away the fine details of structuring the workflow in order to free up users to think about the domain knowledge and the high-level goals of the analysis. Looking at what you have, it seems like |
Beta Was this translation helpful? Give feedback.
-
Hello @wlandau,
I'm a huge fan of {targets}. I do a epidemiology-based research and signal processing, and in each of my research projects, I set it up very similarly with targets. These are not necessarily very "complex" projects, but very causal in their nature.
A pattern I've seen is that a lot of analyses are very similar per project/paper (e.g. a table 1 overview, regressions, splines, etc). What I wrote for myself is R code that helps to set data, add specific hypothesis testing, and then collecting the results. A huge part of this is the type of hypothesis (e.g. sequential adjustment), in setting of epidemiology and causal modeling.
As I was going through your work, I was wondering if there would be utility in a {targets} extension package that helps to encapsulate that workflow?
The other packages I've seen, such as {stantargets} are more so wrapper packages to help simplify the interface in other projects.
I wanted to get a general thought from your end to see if this makes sense.
For example...
Beta Was this translation helpful? Give feedback.
All reactions