Convert gender and race text into qualtrics codes during cleaning. Abide by 'prefer not to disclose' for self reported race. Give priority to self reported data but use SIS information as backup

This commit is contained in:
Nelson Jovel 2023-11-30 20:57:04 -08:00
parent 97ddb09167
commit f27a590c5a
7 changed files with 74 additions and 18 deletions

View file

@ -7,7 +7,7 @@ namespace :data do
student_count = Student.count
path = "/data/survey_responses/clean/"
Sftp::Directory.open(path:) do |file|
SurveyResponsesDataLoader.from_file(file:)
SurveyResponsesDataLoader.new.from_file(file:)
end
puts "=====================> Completed loading #{SurveyItemResponse.count} survey responses"