dot-get_survey function

Internal function to get survey data