Functions to populate lists in trend analysis