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.

Documentation

Manual: ndjson.pdf
Vignette: None available.

Maintainer: Bob Rudis <bob at rud.is>

Author(s): Bob Rudis ( at hrbrmstr), Niels Lohmann (C++ json parser), Deepak Bandyopadhyay (C++ gzstream), Lutz Kettner (C++ gzstream)

Install package and any missing dependencies by running this line in your R console:

install.packages("ndjson")

Depends R (>= 3.2.0)
Imports Rcpp, Rcpp11, data.table, dtplyr
Suggests testthat
Enhances
Linking to Rcpp, Rcpp11
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package ndjson
Materials
URL http://gitlab.com/hrbrmstr/ndjson
Task Views
Version 0.2.0
Published 2016-08-27
License AGPL
BugReports https://gitlab.com/hrbrmstr/ndjson/issues
SystemRequirements zlib, C++11
NeedsCompilation yes
Citation
CRAN checks ndjson check results
Package source ndjson_0.2.0.tar.gz