{"id":18733546,"url":"https://github.com/insightsengineering/chevron","last_synced_at":"2026-01-16T11:57:13.377Z","repository":{"id":211138962,"uuid":"388528527","full_name":"insightsengineering/chevron","owner":"insightsengineering","description":"Standard TLGs For Clinical Trials Reporting","archived":false,"fork":false,"pushed_at":"2026-01-13T15:11:46.000Z","size":161344,"stargazers_count":19,"open_issues_count":46,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-01-13T18:03:52.930Z","etag":null,"topics":["clinical-trials","graphs","listings","nest","r","reporting","tables"],"latest_commit_sha":null,"homepage":"https://insightsengineering.github.io/chevron/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/insightsengineering.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://pharmaverse.org"]}},"created_at":"2021-07-22T16:28:34.000Z","updated_at":"2026-01-03T23:28:29.000Z","dependencies_parsed_at":"2024-02-25T20:22:57.855Z","dependency_job_id":"c5f5c40a-7a50-4666-886f-db6cc3959804","html_url":"https://github.com/insightsengineering/chevron","commit_stats":null,"previous_names":["insightsengineering/chevron"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/insightsengineering/chevron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fchevron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fchevron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fchevron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fchevron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insightsengineering","download_url":"https://codeload.github.com/insightsengineering/chevron/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fchevron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clinical-trials","graphs","listings","nest","r","reporting","tables"],"created_at":"2024-11-07T15:10:21.695Z","updated_at":"2026-01-16T11:57:13.358Z","avatar_url":"https://github.com/insightsengineering.png","language":"R","funding_links":["https://pharmaverse.org"],"categories":[],"sub_categories":[],"readme":"# `chevron`: Standard TLGs for clinical trials reporting \u003ca href='https://insightsengineering.github.io/chevron/'\u003e\u003cimg src=\"man/figures/logo.svg\" align=\"right\" height=\"139\" style=\"max-width: 100%; max-height: 139px;\"/\u003e\u003c/a\u003e\n\n\u003c!-- start badges --\u003e\n[![Check 🛠](https://github.com/insightsengineering/chevron/actions/workflows/check.yaml/badge.svg)](https://insightsengineering.github.io/chevron/main/unit-test-report/)\n[![Docs 📚](https://github.com/insightsengineering/chevron/actions/workflows/docs.yaml/badge.svg)](https://insightsengineering.github.io/chevron/)\n[![Code Coverage 📔](https://raw.githubusercontent.com/insightsengineering/chevron/_xml_coverage_reports/data/main/badge.svg)](https://insightsengineering.github.io/chevron/main/coverage-report/)\n\n![GitHub forks](https://img.shields.io/github/forks/insightsengineering/chevron?style=social)\n![GitHub repo stars](https://img.shields.io/github/stars/insightsengineering/chevron?style=social)\n\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/insightsengineering/chevron)\n![GitHub contributors](https://img.shields.io/github/contributors/insightsengineering/chevron)\n![GitHub last commit](https://img.shields.io/github/last-commit/insightsengineering/chevron)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/insightsengineering/chevron)\n![GitHub repo size](https://img.shields.io/github/repo-size/insightsengineering/chevron)\n![GitHub language count](https://img.shields.io/github/languages/count/insightsengineering/chevron)\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![Current Version](https://img.shields.io/github/r-package/v/insightsengineering/chevron/main?color=purple\\\u0026label=package%20version)](https://github.com/insightsengineering/chevron/tree/main)\n[![Open Issues](https://img.shields.io/github/issues-raw/insightsengineering/chevron?color=red\\\u0026label=open%20issues)](https://github.com/insightsengineering/chevron/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)\n\u003c!-- end badges --\u003e\n\n`chevron` is a collection of high-level functions to create standard outputs for clinical trials reporting with limited parameterisation. These outputs includes:\n\n\u003c!-- markdownlint-disable MD007 MD030 --\u003e\n\n- [Tables](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#tables):\n     - safety table, e.g.\n          - [Safety Summary (`AET01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#safety-summary-aet01)\n     - adverse events table, e.g.\n          - [Adverse Events (`AET02`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#adverse-events-aet02)\n          - [Adverse Events by Greatest Intensity (`AET03`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#adverse-events-by-greatest-intensityaet03)\n          - [Most Common (\u003e=5%) Adverse Events (`AET10`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#most-common-5-adverse-events-aet10)\n     - demographic table, e.g.\n          - [Demographics and Baseline Characteristics (`DMT01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#demographics-and-baseline-characteristics-dmt01)\n     - ECG table, e.g.\n          - [ECG Results and Change from Baseline by Visit (`EGT01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#ecg-results-and-change-from-baseline-by-visit-egt01)\n          - [ECG Abnormalities (Regardless of Abnormality at Baseline) (`EGT02_1`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#ecg-abnormalities-regardless-of-abnormality-at-baseline-egt02_1)\n          - [ECG Abnormalities (Among Subject Without Abnormality at Baseline) (`EGT02_2`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#ecg-abnormalities-among-subject-without-abnormality-at-baseline-egt02_2)\n     - lab results table, e.g.\n          - [Laboratory Test Results and Change from Baseline by Visit (`LBT01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#laboratory-test-results-and-change-from-baseline-by-visit-lbt01)\n          - [Laboratory Abnormalities (`LBT04`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#laboratory-abnormalities-lbt04)\n          - [Laboratory Abnormalities with Single and Replicated Marked (`LBT05`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#laboratory-abnormalities-with-single-and-replicated-marked-lbt05)\n     - medical history table, e.g.\n          - [Medical History (`MHT01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#medical-history-mht01)\n     - response table, e.g.\n          - [Best Overall Response (`RSPT01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#best-overall-response-rspt01)\n     - time to event table, e.g.\n          - [Time-to-event Summary (`TTET01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#time-to-event-summary-ttet01)\n     - vital signs, e.g.\n          - [Vital Signs (`VST01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#vital-signs-vst01)\n          - [Vital Signs Abnormalities (Regardless of Abnormality at Baseline) (`VST02_1`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#vital-signs-abnormalities-regardless-of-abnormality-at-baseline-vst02_1)\n          - [Vital Signs Abnormalities (Among Subject Without Abnormality at Baseline) (`VST02_2`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#vital-signs-abnormalities-among-subject-without-abnormality-at-baseline-vst02_2)\n- [Listings](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#listings)\n- [Graphs](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#graphics):\n     - [Kaplan-Meier Plot (`KMG01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#kaplan-meier-plot-kmg01)\n     - [Mean Plot (`MNG01`)](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html#mean-plot-mng01)\n\n\u003c!-- markdownlint-enable MD007 MD030 --\u003e\n\nPlease visit [the catalog](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron_catalog.html) to see full list of available outputs. If you want a new output, please [create an issue](https://github.com/insightsengineering/chevron/issues/new?template=new_table.yml).\n\nIf you need more flexibility please refer to [`tern`](https://insightsengineering.github.io/tern/) with its [TLG Catalog](https://insightsengineering.github.io/tlg-catalog/).\n\n## Installation\n\n`chevron` is available on CRAN and you can install the latest released version with:\n\n```r\ninstall.packages(\"chevron\")\n```\n\nAlternatively, you might also use the development version.\n\n```r\n# install.packages(\"pak\")\npak::pak(\"insightsengineering/chevron\")\n```\n\n## Usage\n\nTo understand how to use this package, please refer to the [Introduction to `chevron`](https://insightsengineering.github.io/chevron/latest-tag/articles/chevron.html) article, which provides multiple examples of code implementation.\n\nBelow is the showcase of the example usage.\n\n```r\nlibrary(chevron)\n\ndata(syn_data)\nrun(aet02, syn_data)\n```\n\nwhich returns\n\n```text\n  MedDRA System Organ Class                                     A: Drug X    B: Placebo    C: Combination\n    MedDRA Preferred Term                                        (N=134)       (N=134)        (N=132)\n  ———————————————————————————————————————————————————————————————————————————————————————————————————————\n  Total number of patients with at least one adverse event     122 (91.0%)   123 (91.8%)    120 (90.9%)\n  Overall total number of events                                   609           622            703\n  cl A.1\n    Total number of patients with at least one adverse event   78 (58.2%)    75 (56.0%)      89 (67.4%)\n    Total number of events                                         132           130            160\n    dcd A.1.1.1.1                                              50 (37.3%)    45 (33.6%)      63 (47.7%)\n    dcd A.1.1.1.2                                              48 (35.8%)    48 (35.8%)      50 (37.9%)\n  cl B.2\n    Total number of patients with at least one adverse event   79 (59.0%)    74 (55.2%)      85 (64.4%)\n    Total number of events                                         129           138            143\n    dcd B.2.2.3.1                                              48 (35.8%)    54 (40.3%)      51 (38.6%)\n    dcd B.2.1.2.1                                              49 (36.6%)    44 (32.8%)      52 (39.4%)\n  cl D.1\n    Total number of patients with at least one adverse event   79 (59.0%)    67 (50.0%)      80 (60.6%)\n    Total number of events                                         127           106            135\n    dcd D.1.1.1.1                                              50 (37.3%)    42 (31.3%)      51 (38.6%)\n    dcd D.1.1.4.2                                              48 (35.8%)    42 (31.3%)      50 (37.9%)\n  cl D.2\n    Total number of patients with at least one adverse event   47 (35.1%)    58 (43.3%)      57 (43.2%)\n    Total number of events                                         62            72              74\n    dcd D.2.1.5.3                                              47 (35.1%)    58 (43.3%)      57 (43.2%)\n  cl B.1\n    Total number of patients with at least one adverse event   47 (35.1%)    49 (36.6%)      43 (32.6%)\n    Total number of events                                         56            60              62\n    dcd B.1.1.1.1                                              47 (35.1%)    49 (36.6%)      43 (32.6%)\n  cl C.2\n    Total number of patients with at least one adverse event   35 (26.1%)    48 (35.8%)      55 (41.7%)\n    Total number of events                                         48            53              65\n    dcd C.2.1.2.1                                              35 (26.1%)    48 (35.8%)      55 (41.7%)\n  cl C.1\n    Total number of patients with at least one adverse event   43 (32.1%)    46 (34.3%)      43 (32.6%)\n    Total number of events                                         55            63              64\n    dcd C.1.1.1.3                                              43 (32.1%)    46 (34.3%)      43 (32.6%)\n```\n\n## Related\n\n- [`rtables`](https://insightsengineering.github.io/rtables/) - table engine used\n- [`tern`](https://insightsengineering.github.io/tern/) - analysis function used\n\n## Acknowledgment\n\nThis package is a result of a joint efforts by many developers and stakeholders. We would like to thank everyone who has contributed so far!\n\n## Stargazers and Forkers\n\n### Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/insightsengineering/chevron.svg)](https://starchart.cc/insightsengineering/chevron)\n\n### Stargazers\n\n[![Stargazers repo roster for chevron](https://reporoster.com/stars/insightsengineering/chevron)](https://github.com/insightsengineering/chevron/stargazers)\n\n[![Forkers repo roster for chevron](https://reporoster.com/forks/insightsengineering/chevron)](https://github.com/insightsengineering/chevron/network/members)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsightsengineering%2Fchevron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsightsengineering%2Fchevron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsightsengineering%2Fchevron/lists"}