I have a hierarchical dataset, called finalData, like this, with 31 entries per 'outer' association.
What I want to do is select the outer associations (let's call them 'chunks') based on calculated properties of the chunk. So, for example, I might want to keep all chunks in which the minimum #Interval value is >=900. If this was a nested list, and given that Interval is the 9th column in each subarray, I would do
Select[finalData,Min[#[[All,9]]]>=900&]
Simple! But can this be done within the Dataset paradigm, using a query based on keys? FYI I ca think of plenty of 'hybrid' methods in which one does the test calculation first using something like
finalData2[All, Min[#] >= 900 &, "Distance"]
and uses the Values[Normal[]] version of this to Pick from the Dataset, but this seems inelegant. Can it be done using a single query?
(This question is the closest but wants to filter the rows within the 'chunks', rather than the chunks themselves.)