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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ndjson")

0.9.1 by Bob Rudis, 2 years ago


https://github.com/hrbrmstr/ndjson


Report a bug at https://github.com/hrbrmstr/ndjson/issues


Browse source code at https://github.com/cran/ndjson


Authors: Bob Rudis [aut, cre] , Niels Lohmann [aut] (C++ json parser) , Deepak Bandyopadhyay [aut] (C++ gzstream) , Lutz Kettner [aut] (C++ gzstream) , Neal Fultz [ctb] (Rcpp integration) , Maarten Demeyer [ctb] (dtplyr cleanup)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports Rcpp, data.table, tibble

Suggests tinytest, covr

Linking to Rcpp

System requirements: zlib, C++17


Depended on by streamR.


See at CRAN