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), Neal Fultz [ctb] (Rcpp integration), Maarten Demeyer [ctb] (dtplyr cleanup)
MaintainerBob Rudis <bob@rud.is>
LicenseMIT + file LICENSE
Version0.9.0
URL https://github.com/hrbrmstr/ndjson
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ndjson")

Try the ndjson package in your browser

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

ndjson documentation built on Oct. 17, 2022, 9:06 a.m.