Skip to content

datasetjson

0.4.1Package record

Read and Write CDISC Dataset JSON Files

0packages depend
7.3Kdownloads / year
90.3%test coverage
13/13flavors OK

Overview

About

Read, construct and write CDISC (Clinical Data Interchange Standards Consortium) Dataset JSON (JavaScript Object Notation) files, while validating per the Dataset JSON schema file, as described in CDISC (2023) https://www.cdisc.org/standards/data-exchange/dataset-json.

Changes in 0.4.1
  • Fixes test failures on CRAN's Fedora r-devel check machines. Several tests compared the output of two separate writes, and each write stamps datasetJSONCreationDateTime with the current second, so on a slow machine the two could straddle a second boundary and differ. These tests now pin the clock. Tests also no longer pass a number to info, which current testthat rejects. No changes to package behavior.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-10-24
  • ERROR12 OK, 1 ERROR2026-10-21
  • OK13 OK2026-10-21
  • ERROR12 OK, 1 ERROR2026-10-20
  • OK13 OK2026-10-15
Show 14 earlier changesHide 14 earlier changes
  • ERROR12 OK, 1 ERROR2026-10-14
  • OK13 OK2026-10-10
  • ERROR12 OK, 1 ERROR2026-10-09
  • OK13 OK2026-10-08
  • ERROR12 OK, 1 ERROR2026-10-07
  • OK13 OK2026-10-06
  • ERROR12 OK, 1 ERROR2026-09-24
  • OK13 OK2026-09-12
  • ERROR11 OK, 2 ERROR2026-09-09
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.1
READMEYes · 672 wordsVignettesYes · 5 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.4.1Citation fileNoWebsiteYes · pkgdown
Help pages
18 (1 internal)includes a package overview page
Examples that run
100%14 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

7.3K
CRAN downloads in the past year
Rank #5,981 · ~20/day · ~606/mo
Daily download trend is not available in this view yet.
49130 days
1.4K90 days
7.3K1 year
Compare downloads with other packages →
Also on222 r2u926 conda_forge

Repository

27Stars
4Forks
0Open issues
0Open PRs
5Releases
374Commits
4Commit identities
cdiscdataset-jsonrstatsrstats-package
License file reads as Apache-2.0 · 374 commits · Last activity 2026-10-22 · +3.8% stars, 30d · Discussions: 4 posts
Responsiveness
How these are sampled
PRs merged (all time)
92%
Median days to close, 50 most recently updated closed issues
141
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-25 · 212026-09-30 · 27
PracticesBeta

14 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/atorus-research/datasetjson on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Issue templatesPR template
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-04 · The repository has a site deploy workflow

pkgdown site last built 2026-09-04, before release 0.4.1 (2026-10-22)

Coverage (2)
Coverage reporting (Codecov).covrignore
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing datasetjson adds 7 packages (4 with compiled code, 2.6 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.

Depends (1)
R >= 4.0
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 0.0.1 (2023)
Copyright holder · added in 0.4.0
Copyright holder · added in 0.4.0
Author of the bundled yyjson C library
Releases (6)

Pick two releases to compare their code metrics.

  • 0.4.1Latest
    record
    2026-10-22 · current release · diff ↗
  • 0.4.0
    record
    2026-09-04 · diff ↗ ·
    added 7 exports
    datasetjson_example, read_dataset_dsjc, read_dataset_ndjson, validate_dataset_dsjc, validate_dataset_ndjson, write_dataset_dsjc, write_dataset_ndjson
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    record
    2025-01-30 · diff ↗ ·
    removed 4 exports
    data_metadata, dataset_metadata, file_metadata, set_data_type
    added 6 exports
    get_column_metadata, set_dataset_label, set_dataset_name, set_item_oid, set_last_modified, set_variable_attributes
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.0
    record
    2024-01-09 · diff ↗
  • 0.1.0
    record
    2023-10-13 · diff ↗
  • 0.0.1
    record
    2023-09-14
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-09-14
Total releases
6 / 3 yrs
License
Apache License (>= 2)
Copyright
The included 'yyjson' C library is Copyright (c) 2020 YaoYuan and is released under the MIT license. See inst/COPYRIGHTS.
Minimum R
≥ 4.0
Bundled data
3.9 KB / 3 files
Download size
410 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("datasetjson")
Stackhouse, M., Atorus Research, Inc., Masel, N., & Yuan, Y. (2026). datasetjson: Read and Write CDISC Dataset JSON Files (Version 0.4.1) [Computer software]. https://doi.org/10.32614/CRAN.package.datasetjson

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for datasetjson version 0.4.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy