Skip to content
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

Enhancement: Setup system for TLG (Listings) #186

Open
13 tasks
Gero1999 opened this issue Jan 31, 2025 · 0 comments
Open
13 tasks

Enhancement: Setup system for TLG (Listings) #186

Gero1999 opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Gero1999
Copy link
Collaborator

Gero1999 commented Jan 31, 2025

Description

In the TLG tab section we already have incorporated a functional subtab Graph with a set of inputs that allow the user to visualize and customize their plots. Now we need a similar setup for the listings. Now we want a similar setup using the function in #179. The inputs expected in the TLG Listings section are the ones defined below:

Definition of Done

Global aspects

  • When user presses Submit TLG order listings are displayed and classified in the tab Listings. Representing the rlisting object that will (in the future) be included in the PDF report with the function export_as_pdf

General

  • Grouping tables: by default = c(“PARAM”, “PCSPEC”, “ROUTE”)
  • Grouping variables: SelectInput multiple choice (index columns) by default(c("TRT01A" or “TRTA”, "USUBJID", "AVISIT"))
  • Grouping variables: SelectInput multiple choice (index columns) by default(c("TRT01A" or “TRTA”, "USUBJID", "AVISIT"))
  • Reported variables: Select input with relevant column names (default: NFRLT AFRLT, AVALC) (by default NFRLT AFRLT and AVALC)

Formatting table input

A dataframe (or many) used as an input. It may have one row per variable, and the next columns:

  • Variable name: Defined with Reported variables select input. No modifiable.
  • Label: Text input default populated with $Variable
  • na_str: Text input for NA values (by default "NA")
  • cero_str: Text input for 0 values (by default NA)
  • align: how the extension of the variable value will be aligned on the listing displayed (middle, center, )
  • format_fun: character name of the function to use to format the digits ("round", "signif"). Always NA in non-numeric variables
  • digits: numeric to use in the argument of the previous function
  • unit: character name of the column to use, It will be added to the label in parenthesis
@Gero1999 Gero1999 added the enhancement New feature or request label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant