jsonlite
jsonlite copied to clipboard
Pre-filter stream with jq
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}'
Are you familiar with the jqr package? It could probably help here.