Functions for the data-qualities api