filter_record

bandicoot.io.filter_record(records)

Filter records and remove items with missing or inconsistent fields

Parameters:
records : list

A list of Record objects

Returns:
records, ignored : (Record list, dict)

A tuple of filtered records, and a dictionary counting the missings fields