function asCsv(userProfiles) {
        const response = commonRecordsAsCsv()
        response.userProfiles = tableRecordsAsCsv(userProfiles)
        return response
    }
Generates the CSV data export

@returns {CsvResponse}