Skip to main content

Section A.2 Data Integrity and Structure

  • Have I visually inspected my data using commands such as head(), summary(), or View()?
  • Have I verified variable types using str()?
  • Are categorical variables correctly stored as factors or characters (not numeric)?
  • Do numeric variables represent meaningful quantities (not IDs or codes)?
  • Have I addressed missing values or unexpected levels?