{"id":211,"date":"2025-11-27T12:58:47","date_gmt":"2025-11-27T17:58:47","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/?post_type=chapter&#038;p=211"},"modified":"2026-03-01T22:08:21","modified_gmt":"2026-03-02T03:08:21","slug":"codebooks-and-data-dictionaries","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/chapter\/codebooks-and-data-dictionaries\/","title":{"raw":"Codebooks and Data Dictionaries","rendered":"Codebooks and Data Dictionaries"},"content":{"raw":"<h4><a href=\"https:\/\/pressbooks.bccampus.ca\/rdmoer\/chapter\/activity-3-2-reflection\/\">Previous Lesson<\/a><\/h4>\r\n<h4>Lesson 12 of 17<\/h4>\r\n<h3>Codebooks and\u00a0<span style=\"color: #00ccff\">data dictionaries<\/span>\u00a0are used by researchers to describe parts of data collection or analysis. Their formatting is dependent upon your research design.<\/h3>\r\n<h1><strong>Codebooks and Data Dictionaries\u00a0for Tabular Data<\/strong><\/h1>\r\n<h3>A codebook or data dictionary explains variable names and values in a data set. They are often used to describe quantitative data in a spreadsheet (tabular). It should define all the fields in the table, containing:<\/h3>\r\n<ul>\r\n \t<li>Variable names as they appear in the spreadsheet<\/li>\r\n \t<li>Readable variable names (e.g., ID on a spreadsheet may be short for participant ID.)<\/li>\r\n \t<li>Units of measurement used for a variable and levels of precision\u00a0(e.g., Are measurements in metric? Is time in HH:MM:SS or some other format?)<\/li>\r\n \t<li>Allowed values for the variable\r\n<ul>\r\n \t<li>Whether values are selected from a list (e.g., M=male, F=female, O=other)<\/li>\r\n \t<li>Values defined in a description<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li>Description of the variable<\/li>\r\n \t<li>Values for missing data<\/li>\r\n<\/ul>\r\n<img class=\"wp-image-624 aligncenter\" src=\"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-300x79.png\" alt=\"\" width=\"995\" height=\"262\" \/>\r\n\r\n<sub>Data Dictionary image from \u201c<a href=\"https:\/\/help.osf.io\/article\/217-how-to-make-a-data-dictionary\" target=\"_blank\" rel=\"noopener\">How to Make a Data Dictionary<\/a>\u201d licensed\u00a0<a href=\"https:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/\" target=\"_blank\" rel=\"noopener\">CC0<\/a>.<\/sub>\r\n\r\n&nbsp;\r\n<div class=\"textbox\">\r\n\r\nResearchers who collect data through surveys create codebooks to provide information about how the data file is structured and any response codes used to record responses (e.g., 1 = yes, 0 = no, 999 = nonresponse). Common software packages used for collection and analysis of survey responses (e.g., REDCap, SPSS) can be used to generate codebooks.\r\n\r\n<\/div>\r\n<h1><strong>Qualitative Codebooks<\/strong><\/h1>\r\n<h3>Researchers who do qualitative coding of data (e.g., coding interview data by themes) create codebooks that describe and define each code (theme) used in the analysis.<\/h3>\r\nThese codes may be deductive (a list of codes is created beforehand and applied to the data), or inductive (the codes emerge from the analysis). Software tools for qualitative analysis (e.g., NVivo, Atlas.ti, MAXQDA) can be used for qualitative coding and can export codebooks containing definitions that are input by you as the researcher.\r\n<h4><a href=\"https:\/\/pressbooks.bccampus.ca\/rdmoer\/chapter\/lab-and-electronic-notebooks\/\">Next Lesson<\/a><\/h4>","rendered":"<h4><a href=\"https:\/\/pressbooks.bccampus.ca\/rdmoer\/chapter\/activity-3-2-reflection\/\">Previous Lesson<\/a><\/h4>\n<h4>Lesson 12 of 17<\/h4>\n<h3>Codebooks and\u00a0<span style=\"color: #00ccff\">data dictionaries<\/span>\u00a0are used by researchers to describe parts of data collection or analysis. Their formatting is dependent upon your research design.<\/h3>\n<h1><strong>Codebooks and Data Dictionaries\u00a0for Tabular Data<\/strong><\/h1>\n<h3>A codebook or data dictionary explains variable names and values in a data set. They are often used to describe quantitative data in a spreadsheet (tabular). It should define all the fields in the table, containing:<\/h3>\n<ul>\n<li>Variable names as they appear in the spreadsheet<\/li>\n<li>Readable variable names (e.g., ID on a spreadsheet may be short for participant ID.)<\/li>\n<li>Units of measurement used for a variable and levels of precision\u00a0(e.g., Are measurements in metric? Is time in HH:MM:SS or some other format?)<\/li>\n<li>Allowed values for the variable\n<ul>\n<li>Whether values are selected from a list (e.g., M=male, F=female, O=other)<\/li>\n<li>Values defined in a description<\/li>\n<\/ul>\n<\/li>\n<li>Description of the variable<\/li>\n<li>Values for missing data<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-624 aligncenter\" src=\"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-300x79.png\" alt=\"\" width=\"995\" height=\"262\" srcset=\"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-300x79.png 300w, https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-1024x270.png 1024w, https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-768x202.png 768w, https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-1536x405.png 1536w, https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-65x17.png 65w, https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-225x59.png 225w, https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM-350x92.png 350w, https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-content\/uploads\/sites\/2528\/2025\/11\/Screenshot-2026-02-04-at-1.31.26-AM.png 1830w\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" \/><\/p>\n<p><sub>Data Dictionary image from \u201c<a href=\"https:\/\/help.osf.io\/article\/217-how-to-make-a-data-dictionary\" target=\"_blank\" rel=\"noopener\">How to Make a Data Dictionary<\/a>\u201d licensed\u00a0<a href=\"https:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/\" target=\"_blank\" rel=\"noopener\">CC0<\/a>.<\/sub><\/p>\n<p>&nbsp;<\/p>\n<div class=\"textbox\">\n<p>Researchers who collect data through surveys create codebooks to provide information about how the data file is structured and any response codes used to record responses (e.g., 1 = yes, 0 = no, 999 = nonresponse). Common software packages used for collection and analysis of survey responses (e.g., REDCap, SPSS) can be used to generate codebooks.<\/p>\n<\/div>\n<h1><strong>Qualitative Codebooks<\/strong><\/h1>\n<h3>Researchers who do qualitative coding of data (e.g., coding interview data by themes) create codebooks that describe and define each code (theme) used in the analysis.<\/h3>\n<p>These codes may be deductive (a list of codes is created beforehand and applied to the data), or inductive (the codes emerge from the analysis). Software tools for qualitative analysis (e.g., NVivo, Atlas.ti, MAXQDA) can be used for qualitative coding and can export codebooks containing definitions that are input by you as the researcher.<\/p>\n<h4><a href=\"https:\/\/pressbooks.bccampus.ca\/rdmoer\/chapter\/lab-and-electronic-notebooks\/\">Next Lesson<\/a><\/h4>\n","protected":false},"author":2543,"menu_order":12,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-211","chapter","type-chapter","status-publish","hentry"],"part":184,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/pressbooks\/v2\/chapters\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/wp\/v2\/users\/2543"}],"version-history":[{"count":7,"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/pressbooks\/v2\/chapters\/211\/revisions"}],"predecessor-version":[{"id":753,"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/pressbooks\/v2\/chapters\/211\/revisions\/753"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/pressbooks\/v2\/parts\/184"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/pressbooks\/v2\/chapters\/211\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/pressbooks\/v2\/chapter-type?post=211"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/wp\/v2\/contributor?post=211"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/rdmoer\/wp-json\/wp\/v2\/license?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}