Add Table 14.1.3 generation script aligned with gtsummary-based TLF style#81
Conversation
Agent-Logs-Url: https://github.com/RConsortium/submissions-pilot6-adams-tlfs/sessions/a728daea-a1d5-4500-bcb0-a1fdffea711b Co-authored-by: bms63 <10111024+bms63@users.noreply.github.com>
Agent-Logs-Url: https://github.com/RConsortium/submissions-pilot6-adams-tlfs/sessions/a728daea-a1d5-4500-bcb0-a1fdffea711b Co-authored-by: bms63 <10111024+bms63@users.noreply.github.com>
Agent-Logs-Url: https://github.com/RConsortium/submissions-pilot6-adams-tlfs/sessions/a728daea-a1d5-4500-bcb0-a1fdffea711b Co-authored-by: bms63 <10111024+bms63@users.noreply.github.com>
Agent-Logs-Url: https://github.com/RConsortium/submissions-pilot6-adams-tlfs/sessions/a728daea-a1d5-4500-bcb0-a1fdffea711b Co-authored-by: bms63 <10111024+bms63@users.noreply.github.com>
|
@copilot resolve the merge conflicts in this pull request |
Co-authored-by: bms63 <10111024+bms63@users.noreply.github.com>
Resolved and pushed. I merged |
|
@bms63 As discussed we are going to use #88, but I had a quick look at this PR. Yet there are few things to consider:
|
|
@copilot can you adjust this code to use the |
Agent-Logs-Url: https://github.com/RConsortium/submissions-pilot6-adams-tlfs/sessions/aecdbbf9-1da1-4ad1-9e21-184f17ef1b7b Co-authored-by: bms63 <10111024+bms63@users.noreply.github.com>
Agent-Logs-Url: https://github.com/RConsortium/submissions-pilot6-adams-tlfs/sessions/aecdbbf9-1da1-4ad1-9e21-184f17ef1b7b Co-authored-by: bms63 <10111024+bms63@users.noreply.github.com>
Agent-Logs-Url: https://github.com/RConsortium/submissions-pilot6-adams-tlfs/sessions/aecdbbf9-1da1-4ad1-9e21-184f17ef1b7b Co-authored-by: bms63 <10111024+bms63@users.noreply.github.com>
Implemented in commits I updated |


This PR adds an R implementation for Table 14-1.03 (Summary of Number of Subjects By Site) based on ADSL, matching the style and structure established in PR #67. It reproduces treatment-wise ITT/Eff/Com counts by pooled/site IDs, including a total row and formatted PDF output.
Table program implementation
code/tables/t_14_1_3.rto generate Table 14.1.3 fromadsl.json.ITT,Eff, andComusingITTFL,EFFFL, andCOMP24FL.SITEGR1(Pooled ID) andSITEID, with an overallTOTALrow.Output artifacts and formatting
data/tables/ard/t_14_1_3.rdsusinggtsummary+gather_ard().gt+docoratorwith protocol/population headers and note/footer text consistent with the target table style.ID.Repository path/config alignment
.Rprofilepathlist with:table_output = data/tables/pdftable_ard = data/tables/ard.gitignorescaffolding underdata/tables/,data/tables/ard/, anddata/tables/pdf/for generated outputs.Documentation updates
AGENTS.mdto explicitly require:gtsummary+gather_ard()for ARD generation in TLF scripts.