Skip to content

ndjson

0.9.1Package record

Wicked-Fast Streaming 'JSON' ('ndjson') Reader

1packages depend
43.4Kdownloads / year
39.3%test coverage
13/13flavors OK

Overview

About

Streaming 'JSON' ('ndjson') has one 'JSON' record per-line and many modern 'ndjson' files contain large numbers of records. These constructs may not be columnar in nature, but it is often useful to read in these files and "flatten" the structure out to enable working with the data in an R 'data.frame'-like context. Functions are provided that make it possible to read in plain 'ndjson' files or compressed ('gz') 'ndjson' files and either validate the format of the records or create "flat" 'data.table' structures from them.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.9.1
README· In the repository, left out of the releaseVignettesNoNEWS· In the repository, left out of the releaseCitation fileNo
Help pages
4includes a package overview page
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
50%

Downloads

43.4K
CRAN downloads in the past year
Rank #2,357 · ~119/day · ~3.6K/mo
Daily download trend is not available in this view yet.
2.5K30 days
7K90 days
43.4K1 year
Compare downloads with other packages →
Also on637 r2u5 autocran3.5K conda_forge115 c2d4u

Repository

56Stars
10Forks
4Open issues
0Open PRs
2Releases
81Commits
4Commit identities
rndjsonrstatsjsonr-cyber
81 commits · Last activity 2022-10-16 · -1.8% stars, 30d · The default branch showed an older version (0.9.0) than CRAN on 2026-10-18
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
104
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-07-14 · 562026-10-03 · 56
PracticesBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/hrbrmstr/ndjson on 2026-10-18.

Continuous integration (1)
Travis CI (config file)
Governance and community (2)
Code of conduct

The repository owner accepts GitHub Sponsors

Docs source (2)
README.Rmd

GitHub Pages site last deployed 2022-10-16

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing ndjson adds 12 packages (9 with compiled code, 12 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, vctrs 1.0 MB.

Depends (1)
R >= 3.2.0
LinkingTo (1)
Suggests (2)
Enhances (0)
none
Reverse dependencies
1direct
8indirect
Depends 1
Depends, Imports or LinkingTo, most downloaded first

People & History

People (6)
Author, Maintainer since 0.2.0 (2016)
Author
C++ gzstream
Author
C++ gzstream
Author
C++ json parser
Contributor · added in 0.8.0
dtplyr cleanup
Contributor · added in 0.8.0
Rcpp integration
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.9.1Latest
    record
    2025-03-06 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.9.0
    record
    2022-10-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.8.0
    record
    2019-11-13 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.7.0
    record
    2018-09-18 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.6.0
    record
    2018-03-05 · diff ↗
  • 0.5.0
    record
    2017-06-28 · diff ↗ ·
    added 1 export
    flatten
  • R
    R 3.4.0 released · 2017-04-21
Show 2 earlier eventsHide 2 earlier events
  • 0.2.0
    record
    2016-08-27
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-08-27
Total releases
7 / 10 yrs
License
MIT + file LICENSE OSI · relicensed from AGPL in 0.6.0
Minimum R
≥ 3.2.0
Download size
143 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ndjson")
Rudis, B., Bandyopadhyay, D., Demeyer, M., Fultz, N., Kettner, L., & Lohmann, N. (2025). ndjson: Wicked-Fast Streaming 'JSON' ('ndjson') Reader (Version 0.9.1) [Computer software]. https://doi.org/10.32614/CRAN.package.ndjson

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 ndjson version 0.9.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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