You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cardinal initiative (formerly "falcon") is an industry collaborative effort under pharmaverse that brings together pharmaceutical companies with the aspiration of building and open-sourcing a catalog of harmonized tables, listings, and graphs (TLGs) in clinical study reporting. Leveraging existing open-source R packages, cardinal aims to simplify the process of output review, comparison, and meta-analyses, fostering efficient communication among stakeholders in the pharmaceutical sector while aligning with CDISC's ARD/ARM effort at the same time. Drawing inspiration from the FDA Standard Safety Tables and Figures Integrated Guide, we develop open-source templates. Future plans entail expanding the catalog of templates through continuous collaboration from participating companies and inviting wider industry to promote harmonization of TLGs for clinical reporting.
24
+
The cardinal initiative (formerly "falcon") is an industry collaborative effort under pharmaverse that brings together pharmaceutical companies with the aspiration of building and open-sourcing a catalog of harmonized tables, listings, and graphs (TLGs) in clinical study reporting. Leveraging existing open-source R packages, cardinal aims to simplify the process of output review, comparison, and meta-analyses, fostering efficient communication among stakeholders in the pharmaceutical sector while aligning with CDISC's ARD/ARM effort at the same time. Drawing initial inspiration from the FDA Standard Safety Tables and Figures Integrated Guide, we develop open-source templates from this guide as well as additional sources. Future plans entail expanding the catalog of templates through continuous collaboration from participating companies and inviting wider industry to promote harmonization of TLGs for clinical reporting.
31
25
32
26
```{=html}
33
27
<div class="divButton">
@@ -43,7 +37,7 @@ The cardinal initiative (formerly "falcon") is an industry collaborative effort
43
37
44
38
#### Upcoming Talks & Presentations
45
39
46
-
No upcoming talks or presentations currently scheduled. Stay tuned!
40
+
- November 3-7, 2025 -- R/Pharma 2025 Online Workshop
47
41
48
42
See resources from past talks & presentations [here](quarto/resources.html#past-talks-presentations).
Copy file name to clipboardExpand all lines: quarto/about.qmd
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: About the Project
4
4
5
5
The cardinal project (previously "falcon") is a product of industry collaboration to encourage the development of shared code, expertise, knowledge, and products.
6
6
7
-
In the near future, the goal is to develop functionality to create regulatory reporting tables suitable for FDA filing. The long-term objective of this collaboration is to develop an R package that can be used industry wide - developing a cross-industry standard and reducing manual work from a reporting perspective.
7
+
The goal of this collaboration is to develop an extensive catalog of harmonized ARD-based table, listing, and graph (TLG) templates that can be used industry wide - developing a cross-industry standard and reducing manual work from a reporting perspective.
8
8
9
9
## Our Collaboration Journey
10
10
@@ -18,12 +18,14 @@ As always we invite further collaboration and welcome additional companies to jo
18
18
19
19
As a pharmaverse collaboration, we invite any interested developers to join the cardinal team and contribute to template development. To onboard as a developer, please reach out to one of the cardinal Product Owners ([Vincent Shen](https://github.com/telepath37), [Freeman Wang](https://github.com/freestatman), Kavitha Allala, Lian Lin) to receive access to the cardinal GitHub repository.
20
20
21
-
Tasks are assigned and prioritized via issues on our GitHub project board and worked on in development branches. Members of the team will review each other's code and make suggestions before new functions and features are incorporated into the package.
21
+
Tasks are assigned and prioritized via issues on our GitHub project board and worked on in development branches. Members of the team will review each other's code and make suggestions before new templates are incorporated into the project catalog.
22
22
23
-
We encourage onboarding developers to familiarize themselves with the following packages as they contain functions leveraged by cardinal for table creation:
For information on the process by which developers can add new templates to the catalog, see the [Getting Started page](getting_started.qmd).
28
24
25
+
We encourage onboarding developers to familiarize themselves with the following packages as they contain functions leveraged by the cardinal team for TLG creation:
For instructions on installing the cardinal package please see the [Environment Setup and Package Installation](https://pharmaverse.github.io/cardinal/quarto/getting_started.html#environment-setup-and-package-installation) section of the Getting Started page.
16
-
<br/><br/>
17
-
18
-
19
-
#### 2. \ How can I join this initiative?
13
+
#### 1. \ How can I join this initiative?
20
14
21
15
For information on how to join the cardinal initiative please see the [Joining as a Collaborator](https://pharmaverse.github.io/cardinal/quarto/about.html#joining-as-a-collaborator) section of the About page.
22
16
<br/><br/>
23
17
24
18
25
-
#### 3. \ I copied the example "Table Setup" code for one of the cardinal tables. How can I customize the table?
19
+
#### 2. \ I copied the example code for one of the cardinal TLGs. How can I customize the TLG?
26
20
27
-
For each table template page, next to the "Table Setup" tab is the "Function Details" tab. This tab contains information about each of the customizable parameters available for the table, and what the default settings for each are. If you require a customization option that is not available for a given table, please file a Feature Request issue on GitHub [here](https://github.com/pharmaverse/cardinal/issues/new/choose).
21
+
Every template in the catalog generates a `gtsummary` object (or `ggplot2` object for graphs) which can be customized using the standard modification functions available in the {gtsummary} (or {ggplot2} for graphs) package. Please see this package for more information on customization and formatting options.
28
22
<br/><br/>
29
23
30
24
31
-
#### 4. \ I need a table that isn't available on the cardinal website. Can I request a table be added?
25
+
#### 3. \ I need a TLG that isn't available on the cardinal website. Can I request a table be added?
32
26
33
-
The cardinal team is actively maintaining and adding new table functions to the package. If you would like an FDA safety table that is not listed on the cardinal website, please file a New Table Template issue on GitHub [here](https://github.com/pharmaverse/cardinal/issues/new/choose)with the table number and the team will work on adding it to the package.
27
+
The cardinal team is actively maintaining and adding new TLG templates to the project catalog. If you would like to see a TLG that is not listed on the cardinal website, please file a New TLG Template issue on GitHub [here](https://github.com/pharmaverse/cardinal/issues/new/choose) and the team will work on adding it to the catalog. Please also consider adding the template to the catalog yourself! We are always happy to have new contributors join the initiative (even if you can only add a single TLG!) - for information on how to add a new template yourself see the [Getting Started](getting_started.qmd) page.
34
28
<br/><br/>
35
29
36
30
37
-
#### 5. \ I don't know the number of the FDA safety table I am interested in. Is there a list of tables by title?
31
+
#### 4. \ I don't know the ID of the table I am interested in. Is there a list of TLGs by description?
38
32
39
-
A list of all available tables by title is available on the [Template Catalog](index-catalog.qmd) page.
33
+
A list of all available TLGs by both description and ID/source is available on the [Template Catalog](index-catalog.qmd) page, and can be sorted/filtered accordingly. The category tags on the right-hand side of the page can be used to filter for specific TLGs.
Please ensure that R version 3.6 or higher is installed on your computer. This is required to install the `cardinal` package and its dependencies. You can check your current version of R by running `sessionInfo()` within the R console.
11
+
Please ensure that R version 4.2 or higher is installed on your computer. This is required to install the packages you will need to create your TLG template. You can check your current version of R by running `sessionInfo()` within the R console.
12
12
13
-
#### Installing Package Dependencies
13
+
#### Installing Packages for Template Creation
14
14
15
-
The `cardinal` package requires several packages available on CRAN.
15
+
To create your TLG template the {gtsummary}, {cards}, and {cardx} packages available on CRAN are required.
16
16
17
-
To use the `cardinal` package, ensure you have these necessary package dependencies installed by running the following code:
17
+
Please ensure you have these necessary packages installed by running the following code:
18
18
19
19
```{r, echo=TRUE, eval=FALSE}
20
-
if (!require("gtsummary")) install.packages("gtsummary")
21
20
if (!require("cards")) install.packages("cards")
22
21
if (!require("cardx")) install.packages("cardx")
23
-
if (!require("formatters")) install.packages("formatters")
24
-
if (!require("rtables")) install.packages("rtables")
25
-
if (!require("rlistings")) install.packages("rlistings")
26
-
if (!require("tern")) install.packages("tern")
22
+
if (!require("gtsummary")) install.packages("gtsummary")
27
23
```
28
24
29
-
Optionally, to run the examples provided within the `cardinal` packageand on this site you can also install the random CDISC data package, which contains example datasets, by running the following:
25
+
To create your example TLG/ARD, we recommend using datasets from the {pharmaverseadam} package (or the {random.cdisc.data} package) which contains example synthetic ADaM datasets and is available on CRAN. Optionally, you may want to also install the {crane} package which contains several helpful pharmaceutical-specific table creation functions:
30
26
31
27
```{r, echo=TRUE, eval=FALSE}
32
-
if (!require("random.cdisc.data")) install.packages("random.cdisc.data")
28
+
if (!require("pharmaverseadam")) install.packages("pharmaverseadam")
29
+
if (!require("crane")) install.packages("crane")
33
30
```
34
31
35
32
For more information on these packages, see the [Additional Resources](#additional-resources) section below.
36
33
37
-
#### Installing the cardinal Package
34
+
#### Creating Your TLG Template
38
35
39
-
To install the `cardinal` package, run the following line of code:
36
+
When adding a new template, start by initializing a new folder in the `quarto/catalog` folder with a name that uniquely identifies your TLG (e.g. `fda-table_01`, `lab-tests-summary`). Within this folder, add a file named `index.qmd` which will contain your new TLG template. To simplify the template-creation process we have provided an empty template file (`inst/empty-template.qmd`) which can be copied into your new `index.qmd` file and then modified.
40
37
41
-
```{r, echo=TRUE, eval=FALSE}
42
-
if (!require("cardinal")) remotes::install_github("pharmaverse/cardinal")
43
-
```
38
+
We recommend using datasets from the `pharmaverseadam` package to run your template code and generate a sample output TLG and ARD.
44
39
45
-
### Loading Data
40
+
Ensure that your template file contains four main sections in separate tabs. If, for example, you are creating a template for a table, these tabs should be named:
46
41
47
-
The table functions provided by `cardinal` are designed to work with any datasets which adhere to CDISC standards. If you have access to CDISC data, load this into your R environment as usual to use when generating tables.
42
+
1. Table Preview - provides a preview of the table that is created in the template.
43
+
2. Setup - lists the data set-up and pre-processing steps needed prior to creating the table.
44
+
3. Build Table - provides the code needed to build the table.
45
+
4. Build ARD - provides the code needed to build the ARD associated with the table. If an ARD-first approach was used to create the table this section should appear prior to the "Build Table" tab.
48
46
49
-
If you do not have access to CDISC data, or want to run the examples provided within the package, you can use the `random.cdisc.data` package to load a selection of datasets containing example synthetic randomized CDISC data. Datasets are stored in the package by name, prefixed by the letter `"c"` (for "cached"). For example, after loading the `random.cdisc.data` package you can access an ADSL dataset by running `cadsl`, or ADAE with `cadae`. This data is loaded in where necessary as part of the provided examples.
47
+
### Finalizing Your TLG Template
50
48
51
-
### Template Navigation
49
+
Once you have created your template and ensured that all code runs without error, generate an image file named `result.png` containing a snapshot of your table. Confirm that the output image looks correct.
52
50
53
-
A list of all templates currently available in `cardinal` is provided in the [Template Catalog](index-catalog.qmd), with tables designed based on the [FDA Standard Safety Tables and Figures: Integrated Guide](https://downloads.regulations.gov/FDA-2022-N-1961-0046/attachment_1.pdf).
51
+
Once you have finalized your TLG template, open a pull request in the cardinal [GitHub repository](https://github.com/pharmaverse/cardinal/).
54
52
55
-
### Feature Requests
53
+
### Template Navigation
56
54
57
-
If you would like to request the addition of a new feature to a pre-existing function within `cardinal`, or would like a specific table template to be added, please file an issue on GitHub [here](https://github.com/pharmaverse/cardinal/issues) or reach out to the cardinal team directly via our Slack channel [here](https://app.slack.com/client/T028PB489D3/C04MQS12MND).
55
+
A list of all templates currently available in cardinal is provided in the [Template Catalog](index-catalog.qmd).
58
56
59
-
You can access the source code for all currently available functions in the `cardinal` GitHub repository [here](https://github.com/pharmaverse/cardinal/tree/main/R).
57
+
You can access the files for all currently available templates in the cardinal GitHub repository [here](https://github.com/pharmaverse/cardinal/tree/main/quarto/catalog).
60
58
61
59
### Additional Resources {#additional-resources}
62
60
63
-
See the following packages used by `cardinal`for more information:
61
+
See the following sites for more information on packages leveraged by the cardinal team for TLG template development:
-[`random.cdisc.data`](https://insightsengineering.github.io/random.cdisc.data): Example synthetic randomized CDISC datasets (required for examples only)
0 commit comments