What problem does it solve? Building interactive clinical trial TFL (Tables, Figures, Listings) apps with the teal framework requires knowing the exact parameters of modules like tm_t_summary, tm_t_events, and tm_g_km, plus non-obvious data requirements such as factor-typed arm variables and join keys. This Skill provides official parameter references, minimal runnable examples, and tested workarounds for common errors. ## Core Features & Use Cases - Module Reference: Official usage and parameters for tm_t_summary (baseline characteristics), tm_t_events (AE tables), tm_g_km (Kaplan-Meier curves), tm_data_table (listings), and tm_front_page, organized by TFL category. - Data Preparation Guidance: Patterns for teal_data, join_keys, and the choices_selected / variable_choices / value_choices selectors, including a ready-to-use template for pharmaverseadam data (adsl, adae, adtte_onco). - Troubleshooting Gotchas: Documented fixes for errors like "Treatment variable is not a factor", missing KM arguments, lost variable labels after as.factor conversion, and teal default theme white screens. - Use Case: A clinical programmer needs an interactive app showing a baseline demographics table, an adverse events table, and an OS Kaplan-Meier curve from ADaM datasets; this Skill supplies the full app skeleton and parameter choices. ## Quick Start Ask the AI to build a teal app with a baseline characteristics table and a KM curve using the pharmaverseadam ADSL and ADTTE datasets.