4 ms·
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/12082d23a75fea
by joshgel 6y ago
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/12082d23a75feaab5d405db319812659 https://gist.github.com/joshgel/12082d23a75feaab5d405db31981...
- sequoia 6y ago> But, this prints all 317 resource types on a new line, not super helpful. > 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!