Sha256: bb88f9a965181fcc88d59d19d72b61b2da16cecc4d91539b6d8d1c8f266c8a46
Contents?: true
Size: 723 Bytes
Versions: 8
Compression:
Stored size: 723 Bytes
Contents
csv << ["#{study_name} ID", "Study ID", "Method", "Event", "Item Bank", "Question", "Question ID", "Before", "Response", "Response ID", "Theta", "Standard Error", "Timestamp"] assessments.each do |assessment| assessment.results.each do |result| result.answers.each do |answer| csv << [ assessment.stream_id, assessment.study_id, assessment.method_applied, assessment.event, result.name, answer.question.context_and_title, answer.question.promis_id, answer.response.before, answer.response.title, answer.response.promis_id, result.theta, result.standard_error, answer.updated_at, ] end end end
Version data entries
8 entries across 8 versions & 1 rubygems