survey_report_get
php
string survey_report_get( number $surveyId, [[boolean|string $status=false], [boolean|array $period=false]])Returns a CSV report for the survey identified by $surveyId. Set $status to 'finished' or 'unfinished' to filter completed or incomplete responses. Use $period to specify the time range for the results.
Warning
If the report is too large, the function returns:
Memory Error
Example:
php
print_r(survey_report_get(12));Result:
asd;aaaa;Completed;Timestamp;Date "asdaw\n|asd\r";"probably YES\r";Yes;1546257070;"2018-12-31 12:51:10"