PreviewSample.
A representative sample of the units a predicate matched: at most the asked number, spread over the population's strata in proportion with at least one from each stratum that matched, chosen by the hash of the unit so the same predicate gives the same sample
Figure 1PreviewSamplespecified
- kind
- value
- scope
- none
- key
- none
- store
- none
- family
- rules_engine
Fields#
| field | type | required | note |
|---|---|---|---|
units | SampleUnit | yes | |
strata | SampleStratum | yes | |
asked | count | yes | the size asked for |
method | text | yes | how the sample was drawn |
Routes that use it#
No route takes or returns PreviewSample directly. The record holds it, and the objects that point at it reach it.