I recently wrote a short example based gist for a specific health care use case (evaluating FHIR data) using jq.
https://gist.github.com/joshgel/12082d23a75feaab5d405db31981...
https://gist.github.com/joshgel/12082d23a75feaab5d405db31981...
> So, let's group by and count:
> cat 1396-Ledner.json | jq '.entry[].resource.resourceType' | sort | uniq -c | sort -nr This gives me a list that looks like this:
This is so funny! We came up with some of the exact same combinations of tools (jq + sort, uniq, wc etc.). I mean, it makes sense so I shouldn't be surprised!