hsbang09 / iFEED_experiment_result_analysis_2019

1 stars 1 forks source link

Import demographic survey data using the actual choice text #5

Closed hsbang09 closed 5 years ago

hsbang09 commented 5 years ago

When importing the demographic survey data, import major and employer type using choice text instead of integer numbers.

importDemographicSurvey() method in ResultAnalyzer class should be modified.

For example, instead of saving "1", save "Aerospace Engineering" in _subject.demographicdata['major']

hsbang09 commented 5 years ago

Choice text for each integer values:

subject.demographic_data['major']

  1. Aerospace Engineering
  2. Biological / Agricultural / Biomedical Engineering
  3. Chemical Engineering
  4. Civil / Environmental Engineering
  5. Computer Science / Information Science
  6. Electrical Engineering
  7. Industrial / Systems Engineering
  8. Mechanical Engineering
  9. Mathematics / Statistics
  10. Physics
  11. Chemistry
  12. Biological Science
  13. Other

subject.demographic_data['employerType']

  1. For profit
  2. Non-profit (non-profit research organization, government contractor, etc.)
  3. Government
  4. Academic institution
  5. Other
hsbang09 commented 5 years ago

Capability implemented