Package: ndjson 0.9.1

Bob Rudis

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

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.

Authors:Bob Rudis [aut, cre], Niels Lohmann [aut], Deepak Bandyopadhyay [aut], Lutz Kettner [aut], Neal Fultz [ctb], Maarten Demeyer [ctb]

ndjson_0.9.1.tar.gz
ndjson_0.9.1.tar.gz(r-4.5-noble)ndjson_0.9.1.tar.gz(r-4.4-noble)
ndjson.pdf |ndjson.html
ndjson/json (API)

# Install 'ndjson' in R:
install.packages('ndjson', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hrbrmstr/ndjson/issues

Uses libs:
  • zlib– Compression library
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

zlibcpp

2.85 score 7 packages 3.4k downloads 3 exports 13 dependencies

Last updated 7 days agofrom:928a5905a1. Checks:3 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 07 2025
R-4.5-linux-x86_64OKMar 07 2025
R-4.4-linux-x86_64OKMar 07 2025

Exports:flattenstream_invalidate

Dependencies:clidata.tablefansigluelifecyclemagrittrpillarpkgconfigRcpprlangtibbleutf8vctrs