Here are short notes on coding:
Coding involves assigning numbers or other symbols to responses so that responses can be grouped into categories for analysis. There are two main types of coding - coding closed-ended questions and coding open-ended questions.
For closed-ended questions with a limited set of responses, a numeric code is assigned to each possible response. For example, if asking about gender with options of male and female, male could be coded as 1 and female as 2.
Open-ended questions require more complex coding as responses are not predefined. Common responses are grouped into categories and each category is assigned a code. For example, for an occupation question, responses could be coded into broad categories like professional, clerical, manual