Auto saved by Logseq
This commit is contained in:
parent
71c673ec66
commit
e82da57523
@ -4,4 +4,4 @@
|
||||
- Group the facet with .key: .value and sort it by value asc
|
||||
- ``.facet_counts.facet_fields | {"sources": [.sourceUrl as $m | range(0; $m | length; 2) | {($m[.]): $m[(. + 1)]} ]} | [.sources[] | to_entries | add] | sort_by(.value) | reverse | from_entries``
|
||||
- Group the facet with .key: .value and sort it by value asc as TSV
|
||||
- ``.facet_counts.facet_fields | {"sources": [.sourceUrl as $m | range(0; $m | length; 2) | {($m[.]): $m[(. + 1)]} ]} | [.sources[] | to_entries | add] | sort_by(.value) | reverse[] | join("\t")``
|
||||
- ``.facet_counts.facet_fields | {"sources": [.sourceUrl as $m | range(0; $m | length; 2) | {($m[.]): $m[(. + 1)]} ]} | [.sources[] | to_entries | add] | sort_by(.value) | reverse[] | [.key, .value] | @csv``
|
||||
Loading…
x
Reference in New Issue
Block a user