Learning Objectives:
- Understand what metadata is and explain its purpose in providing context for data.
- Identify and describe file-based and directory-based data storage structures.
- Explain hierarchy-based data structures and where they are used.
- Explain how different data storage structures support data transformation and interpretation.
Structures for Storing Data
Metadata
What it is: Data about data.
Purpose: Provides context so information can be understood.
Example: A photo’s metadata may include time taken, GPS location, and camera type.
File-based & Directory-based Structures
File-based
- Stores data in individual files (e.g., .txt, .csv, .docx)
- Best for small or simple datasets
- Example: Customer details stored in a single CSV file
Directory-based
- Organises files into folders and subfolders
- Helps manage projects and locate data efficiently
- Example: A project folder with /images, /docs, /code
Hierarchy-based Structures
What it is: A tree-like parent/child structure.
Purpose: Organises complex data with clear relationships.
- File systems (e.g., C:/Users/Documents/file.txt)
- XML or JSON nested elements
- Company organisational charts
Links to Data Transformation
- Metadata: Guides correct interpretation (e.g., date formats, file encoding)
- File/Directory structures: Make it easier to locate and extract data
- Hierarchy structures: Allow conversion into tables, JSON, XML, or graphs
- Example: CSV converted into a database, JSON converted into tabular data
Quick check · 7 questions
+10 XP each