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.

Getting started

Package details

AuthorBob Rudis [aut, cre] (<https://orcid.org/0000-0001-5670-2640>), Niels Lohmann [aut] (C++ json parser), Deepak Bandyopadhyay [aut] (C++ gzstream), Lutz Kettner [aut] (C++ gzstream))
MaintainerBob Rudis <[email protected]>
LicenseMIT + file LICENSE
URL http://gitlab.com/hrbrmstr/ndjson
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the ndjson package in your browser

Any scripts or data that you put into this service are public.

ndjson documentation built on Sept. 21, 2018, 6:28 p.m.