Add basic functions for the survey export view