insightsengineering / chevron Goto Github PK
View Code? Open in Web Editor NEWStandard TLGs For Clinical Trials Reporting
Home Page: https://insightsengineering.github.io/chevron/
License: Other
Standard TLGs For Clinical Trials Reporting
Home Page: https://insightsengineering.github.io/chevron/
License: Other
Thanks @BFalquet , please see issues below,
Many thnaks @BFalquet , please see issues below,
NE
not NA
Value at Visit
and not Analysis Value
and write examples that use it explicitly with tidyr
functions
Thanks @BFalquet , please see feedback below
Error: Assigned data
varvec must be compatible with existing data. Existing data has 18 rows.Assigned data has 0 rows.Only vectors of size 1 are recycled.
see other NEST projects for an example
do not save the docs folder, i.e. add it to the .gitignore
High Priority
df_explicit_na
applied to them - need a dm_explicit_na
- and where is this done?dm
and keys could be standardised, part of Chevron? Also a new way for many to be working with data manipulation - this ok?ADSUB
- do we need to think how users would attach to ADSL
ahead of filtering?NE
when stat not computable, dp one more for mean
/median
/SD
, etc.Low Priority
Patient
to be changeable to Subject
or Participant
?@insightsengineering/chevron
basic_table_deco
lbl_overall
should be NULL
by defaultinclude dst01, dmt01 and aet02
When binding 2 tables, the title and decorator disappear.
To implement AET01
where
SE
TRT01P
/ ARM
/ TRT01A
/ Any ADSL
variable - Default ACTARM
NONE
ADAE
Total number of patients with at least one AE
Total number of AEs
Total number of deaths
Total number of patients withdrawn from study due to an AE
Total number of patients with at least one
AE with fatal outcome
Serious AE
Serious AE leading to withdrawal from treatment
Serious AE leading to dose modification/interruption
Related Serious AE
AE leading to withdrawal from treatment
AE leading to dose modification/ interruption
Related AE
Related AE leading to withdrawal from treatment
Related AE leading to dose modification/interruption
Severe AE (at greatest intensity)
Above to be default AET01_1 with preprocessing step adding these temp flags to adsl
and user selecting what they want to keep. Flexibility for user to add own categories if study specific variations
AET01_2 includes Medical Concepts
section which would be user-driven and based on SMQ/CQ adae
variables
write a vignette on why layouts are useful -- as currently its not clear from the documentation
... from the tlg-catalog
EXT01
n
, maybe filter by drug in PARCAT2
, one table by drug)LBT01
... as argument if the dataset is only used in alt_count
in build_table
to be started and discussed
I suggest to start with listing the different study objects
and then list all the study object members that we currently have and their meaning.
the header disappears when tables are bound together.
Use the logic:
t2 <- basic_table(title = "my title", subtitles = "my subtitle", main_footer = "main footer") %>% split_cols_by("ACTARM") %>% add_colcounts() %>% add_overall_col(label = "All patients")
t2 %>% add_existing_table(t1) %>% build_table(adsl)
the problem exists in
library(chevron)
tbl_dm <- dmt01_1(adsl,
summaryvars = c("AGE", "SEX", "RACE"),
deco = list(
title = "Demographic and Baseline Characteristics - Intent-to-Treat Population",
subtitles = "Study: Sample Study with Synthetic Data, Cutoff Date: 2021-10-28",
main_footer = "The tables is build using synthetic data."
))
export_as_txt(tbl_dm__IT, file = "outputs/tbl_dm.txt", paginate = TRUE, lpp = 40, min_siblings = 2)
to have adsl as first argument in every table generating function (when necessary).
in bash navigate to R folder of package
for x in *.R ; do sed -i 's/|>/%>%/g' "$x" ; done
import magrittr pipe operator
its feature that is not available in rtables
right now but on the roadmap.
Thanks @BFalquet , please see issues below,
Error in assert_colnames(adex, summaryvars) : Variable(s) not a column name in adex : AVAL
Title & subtitles generated by the decorator function are still WIP.
The current system to exclude total column inadvertently removes the title section.
.. see tern
ask Nik Burkoff
|>
instead of %>%
format (type) description
or (type)\cr description
improve documentation:
R CMD Check needs to 0 Errors 0 Warnings 0 Notes
so that automation passes
Modify dmt01 to provide an understandable error message when the variable names passed to the summaryvars argument of are not present in the dataset passed through the ad_bl argument.
Should the program default to existing variable names or halt execution?
=> halting execution is probably safer.
i.e. update the @details
and discuss with Tim
for the tables dst01_1
, dst01_2
, and dst01_3
make meaningful titles and description:
dst01_1
dst01_2
dst01_3
use the same markdown documentation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.