Skip to content

6.13.2.27 MlDatasetSelection

6.13.2.27.1 Purpose

The filters of a dataset build: which tables, which time ranges, and optionally which animal types, breeds, observation types, origins, nations, regions and Organizations. Values within one axis are ORed, axes are ANDed, and an empty list means no filter on that axis. The selection is copied into every version, so a later edit of the dataset never changes what an existing version meant.

6.13.2.27.2 Fields

Field Type Cardinality Description
tables enum 1..* Values: animals, observations, events, resolved_events, periods, animal_links.
periods Period 1..* One or more time ranges, by the record's own time; the union of them.
animal_types AnimalType 0..*
breeds AnimalBreedType 0..* Through BreedMembership at the build's write number.
observation_types ObservationType 0..*
origins string 0..* Admitted subtypes of SourceOrigin and assurance values (SourceOrigin.assurance), e.g. "SensorSourceOrigin", "accredited_lab".
nations Nation 0..*
regions string 0..* Administrative regions as coded on the farm's address, within the nations above.
organizations Organization 0..* Only these Organizations' data; empty: every Organization the build may use (farm.canonical_data.read_all).

6.13.2.27.3 Relationships

References

Uses types

Period

Used by

6.13.2.27.4 Rules & constraints

  • What a dataset build extracts. Within one axis the values are ORed, across axes ANDed; an empty list is no filter.