Package: ndjson 0.9.0

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.0.tar.gz
ndjson_0.9.0.tar.gz(r-4.5-noble)ndjson_0.9.0.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'))

Peer review:

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

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

3.88 score 6 packages 114 scripts 3.7k downloads 3 exports 13 dependencies

Last updated 2 years agofrom:ed31aa0fb3. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-linux-x86_64OKNov 17 2024

Exports:flattenstream_invalidate

Dependencies:clidata.tablefansigluelifecyclemagrittrpillarpkgconfigRcpprlangtibbleutf8vctrs