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

Share:

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.

Author
Bob Rudis (@hrbrmstr), Niels Lohmann (C++ json parser), Deepak Bandyopadhyay (C++ gzstream), Lutz Kettner (C++ gzstream)
Date of publication
2016-08-27 20:17:14
Maintainer
Bob Rudis <bob@rud.is>
License
AGPL
Version
0.2.0
URLs

View on CRAN

Man pages

ndjson
Wicked-fast Streaming JSON ('ndjson) Reader
stream_in
Stream in & flatten an ndjson file into a 'tbl_dt'
validate
Validate ndjson file

Files in this package

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