https://github.com/insightsengineering/cards
CDISC Analysis Results Data
https://github.com/insightsengineering/cards
analysis cdisc dataset r
Last synced: 10 days ago
JSON representation
CDISC Analysis Results Data
- Host: GitHub
- URL: https://github.com/insightsengineering/cards
- Owner: insightsengineering
- Created: 2023-07-19T16:55:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-28T16:40:01.000Z (17 days ago)
- Last Synced: 2025-03-28T17:43:08.792Z (17 days ago)
- Topics: analysis, cdisc, dataset, r
- Language: R
- Homepage: https://insightsengineering.github.io/cards/
- Size: 41 MB
- Stars: 40
- Watchers: 10
- Forks: 3
- Open Issues: 16
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
Awesome Lists containing this project
- top-pharma50 - **insightsengineering/cards** - 06-03 15:23:42 | (Ranked by starred repositories)
- jimsghstars - insightsengineering/cards - CDISC Analysis Results Data (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```[](https://CRAN.R-project.org/package=cards)
[](https://app.codecov.io/gh/insightsengineering/cards)
[](https://cran.r-project.org/package=cards)
[](https://github.com/insightsengineering/cards/actions/workflows/R-CMD-check.yaml)The [CDISC Analysis Results Standard](https://www.cdisc.org/standards/foundational/analysis-results-standard) aims to facilitate automation, reproducibility, reusability, and traceability of analysis results data (ARD).
The {cards} package creates these **C**DISC **A**nalysis **R**esult **D**ata **S**ets.Use cases:
1. Quality Control (QC) of existing tables and figures.
1. Pre-calculate statistics to be summarized in tables and figures.
1. Medical writers may easily access statistics and place in reports without copying and pasting from reports.
1. Provides a consistent format for results and lends results to be combined across studies for re-use and re-analysis.
## Installation
Install cards from CRAN with:
```r
install.packages("cards")
```You can install the development version of cards from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("insightsengineering/cards")
```## Extensions
[{style="float: right" width="120"}](https://insightsengineering.github.io/cardx/)
The {cards} package exports three types of functions:
1. Functions to create basic ARD objects.
2. Utilities to create new ARD objects.
3. Functions to work with existing ARD objects.
The [{cardx}](https://github.com/insightsengineering/cardx/) R package is an extension to {cards} that uses the utilities from {cards} and exports functions for creating additional ARD objects–--including functions to summarize t-tests, Wilcoxon Rank-Sum tests, regression models, and more.
## Getting Started
Review the [Getting Started](https://insightsengineering.github.io/cards//main/articles/getting-started.html) page for examples using ARDs to calculate statistics to later include in tables.
```{r}
library(cards)ard_continuous(ADSL, by = "ARM", variables = "AGE")
```