EZ

Eduzan

Learning Hub

Eduzan
Eduzan / Data Science

Data Collection and Sources

Computer Science / Data Science tutorial chapter - Published 2025-12-17 - Data Science

Data can be categorized into three main types based on its format and organization: structured, unstructured, and semi-structured.

Structured Data

Structured data is organized and formatted in a way that makes it easily searchable and analyzable. It typically resides in relational databases or spreadsheets and is often in tabular form with rows and columns.

Examples: Customer information in a database (name, address, phone number), transaction records, Excel spreadsheets

Characteristics:

  • Highly organized
  • Easily searchable and queryable using SQL
  • Follows a fixed schema (e.g., predefined fields and data types)

Unstructured Data

Unstructured data lacks a predefined structure or schema, making it more challenging to process and analyze. It includes data that does not fit neatly into tables or relational databases.

Examples: Text documents, emails, social media posts, videos, images, audio files.

Characteristics:

  • No fixed format or schema
  • Requires specialized tools and techniques for processing (e.g., natural language processing, image recognition)
  • Often rich in information but harder to analyze

Semi-Structured Data

Semi-structured data is a hybrid between structured and unstructured data. It does not have a strict schema like structured data, but it does have some organizational properties, such as tags or markers, that make it easier to analyze.

Examples: JSON, XML files, HTML, NoSQL databases, email headers.

Characteristics:

  • Flexible structure
  • Contains metadata that provides some organization
  • Easier to parse and analyze than unstructured data but less rigid than structured data

Experiments

Experiments involve collecting data by manipulating one or more variables and observing the effect on other variables. This method is common in scientific research and A/B testing in product development.

Advantages:

  • Allows for control over variables
  • Can establish cause-and-effect relationships

Challenges:

  • Time-consuming and costly
  • May require controlled environments

Web Scraping

Web scraping involves extracting data from websites using automated tools or scripts. This method is useful for collecting large amounts of data from the web.

Advantages:

  • Access to vast amounts of publicly available data
  • Automated and scalable
End of lesson.