jsonlite icon indicating copy to clipboard operation
jsonlite copied to clipboard

Pre-filter stream with jq

Open jeroen opened this issue 9 years ago • 1 comments

Do the equivalent of this in stream_in:

curl -s https://jeroenooms.github.io/data/diamonds.json | \
   jq -c 'select(.carat > 4) | {carat: .carat, price: .price}'

jeroen avatar Mar 28 '16 19:03 jeroen

Are you familiar with the jqr package? It could probably help here.

gwerbin avatar Aug 25 '16 13:08 gwerbin