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's often useful to read in these files and "flatten" the structure out to work 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 ('tbl_dt') structures from them.

Install the latest version of this package by entering the following in R:
install.packages("ndjson")
AuthorBob Rudis (@hrbrmstr), Niels Lohmann (C++ json parser), Deepak Bandyopadhyay (C++ gzstream), Lutz Kettner (C++ gzstream)
Date of publication2016-08-27 20:17:14
MaintainerBob Rudis <bob@rud.is>
LicenseAGPL
Version0.2.0
http://gitlab.com/hrbrmstr/ndjson

View on CRAN

Files

inst
inst/extdata
inst/extdata/testgz.json.gz
inst/extdata/test.json
tests
tests/testthat
tests/testthat/test-ndjson.R tests/test-all.R
src
src/json.h
src/Makevars
src/ndjson.cpp
src/gzstream.cpp
src/gzstream.h
src/RcppExports.cpp
NAMESPACE
NEWS.md
R
R/ndjson.R R/ndjson-package.R R/RcppExports.R
README.md
MD5
DESCRIPTION
man
man/ndjson.Rd man/validate.Rd man/stream_in.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.