`data_extract_spec` enhancements
还没有人认领这个 Issue。
评估
调研方向
首先定位当前的 data_extract_spec 入口点,并检查其参数的表示方式和测试方式。将该行为与提议的 filter-only、select-only、col_types 和 all() 形式进行比较,然后定义测试,以确定对已商定 API 及其完成标准的支持。
由索引模型根据 Issue 内容生成。
描述
From https://github.com/insightsengineering/teal/issues/436#issuecomment-1015417950
[The specific form of the arguments such as all() and list() are just examples]
-
Would be great to specify say data_extract_spec(<>, filter_spec = list()) to just get the select and vice versa
-
Would be great to specify say data_extract_spec(<>, col_types = c("numeric", "date")) where the select/filter_spec is populated with only numeric/date columns
-
Would be great to say specify data_extract_spec(all(), ...) to get UI where you can select from all datanames (at the moment data_extract_spec needs a single dataset but the api could be changed to handle this more smoothly)
After all of these in tmg the default arguments for the modules could be chosen sensibly so defining apps could be so simpler:
E.g. tm_outliers could have default args:
tm_outliers<- function( ...
outlier_var = data_extract_spec(all(), filter_spec = list(), col_types = c("numeric"),
categorical_var = data_extract_spec(all(), select_spec = list(), col_types = c("factor"),
...
) { ... }
Then app developers could just use tm_outliers() 🥳
- 主要语言
- R
- 星标
- 2
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pharmaverse/teal.transform 的其他 Issue
-
`data_extract_filter_srv()` drops `filter$sep` when recomputing choices, so multi-variable `filter_spec` loses its selection可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 55/100
pharmaverse/teal.transform#297 ·
-
bug core
难度 5/5 一周以上 新手友好度 35/100
pharmaverse/teal.transform#281 · 1 个 reaction ·
-
core enhancement
难度 3/5 1-2 天 新手友好度 52/100
pharmaverse/teal.transform#280 ·
-
[Bug]: ordering of selected in choices_selected is not respected可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug core
难度 2/5 1-3 小时 新手友好度 45/100
pharmaverse/teal.transform#267 · 3 条评论 ·
-
bug core
难度 3/5 1-2 天 新手友好度 45/100
pharmaverse/teal.transform#262 ·
查看 pharmaverse/teal.transform 的全部 Issue
相似的 Issue
-
num_ode_rk4_adaptive rejects atol = 0 while accepting rtol = 0 and while num_ode_dopri5 accepts both未关闭area/ode-pde good first issue help wanted kind/contract severity/4-minor
难度 2/5 1-3 小时 新手友好度 78/100
Apich-Organization/rssn#383 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
PRL-PRG/r-compile-server#70 · 1 条评论 ·
-
dependencies docker enhancement
难度 2/5 1-3 小时 新手友好度 74/100
posit-dev/images-workbench#257 ·
维护者通常 1 天内回复
-
dependencies docker enhancement
难度 2/5 1-3 小时 新手友好度 72/100
posit-dev/images-package-manager#188 ·
维护者通常 1 天内回复
-
dependencies docker enhancement
难度 2/5 1-3 小时 新手友好度 68/100
posit-dev/images-connect#222 ·
维护者通常 1 天内回复