🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Data Science & Analytics › Universal Core: Safety, Math, Communication & Career for Data Science & Analytics › Lesson 4
TEC-DATA85-01 · Lesson 4 · 20 clock hours · theory

Reading Technical Documentation: Data Dictionaries, Schema Diagrams, and API Docs

Objective. Learners will extract and summarize key information from data dictionaries, entity-relationship (ER) diagrams, technical specifications, and API reference pages to answer specific analytical questions.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

Why Technical Documentation Matters in Data Science

Before you write a single line of code or drag a field into a dashboard, you need to understand what your data actually means. Technical documentation — data dictionaries, entity-relationship (ER) diagrams, and API reference pages — is the professional record that answers that question. Misreading documentation is one of the most common sources of analytical error in the field. A field labeled `income` could mean household gross income, individual net income, or median tract income depending on the source. Reading documentation carefully is not optional; it is a core job skill.

Data Dictionaries

A data dictionary is a structured document that defines every field (column) in a dataset. For each field it typically records:

When you read a data dictionary, work systematically: confirm the field name matches exactly what appears in your file, note the data type before you attempt any arithmetic, and flag every null convention so you can filter or impute correctly later. Public-sector dictionaries from sources such as the US Census Bureau or city open-data portals are publicly available and are widely used in professional practice.

A safety note for data work: Data dictionaries for datasets that include personal information (names, addresses, health records, income) will often note suppression rules or anonymization methods. Analysts have a professional and, in many contexts, a legal obligation to respect those rules. Never attempt to re-identify suppressed records or bypass access controls. Always handle data containing personally identifiable information (PII) according to your organization's data governance policy.

Entity-Relationship (ER) Diagrams

A relational database stores data across multiple tables that are linked together. An ER diagram is a visual map of those tables and their connections. Reading one correctly lets you know which tables to join, on which fields, and in what direction.

Key concepts to identify in any ER diagram:

For a three-table example: a Customers table (PK: `customer_id`) links to an Orders table (FK: `customer_id`) in a one-to-many relationship — one customer can place many orders. The Orders table (PK: `order_id`) links to an Order_Items or Products table, allowing analysis of which products appear in which orders. Reading the diagram before querying saves time and prevents incorrect joins.

API Reference Pages

Many real-world datasets are accessed not as flat files but through an Application Programming Interface (API). A REST API lets your code send a request over the internet and receive data back, usually in JSON or CSV format. The API reference page is the documentation that tells you exactly how to form that request.

When skimming an API reference page, locate five things immediately:

1. Base URL — the root web address all requests share (e.g., `https://api.example.gov/data/`)

2. Endpoint — the specific path added to the base URL to reach one type of data (e.g., `/v1/population`)

3. Required parameters — fields your request must include, such as an API key, a geographic code, or a year

4. Response format — how the data comes back (JSON is most common; some APIs offer CSV or XML)

5. Rate limits — how many requests you are allowed per minute or per day; exceeding this can block your access

Skimming strategy: read the first sentence of each section heading, then slow down only for the parameter table and the example request/response block. This SQ3R-style approach (Survey, Question, Read, Recite, Review) lets you extract the essential facts quickly without reading every word.

Putting It Together

In professional practice these three document types work together. You check the data dictionary to understand fields, the ER diagram to understand table relationships, and the API reference to understand how to retrieve the data programmatically. Errors at the documentation-reading stage propagate through every later step of analysis, so accuracy here protects the quality of everything downstream.

Key terms10

Data dictionaryA structured reference document that defines each field in a dataset, including its name, data type, description, units, null conventions, and data quality notes.
Primary key (PK)A field (or combination of fields) in a database table whose value uniquely identifies every row in that table.
Foreign key (FK)A field in one table that stores the primary key value of a related row in another table, creating a link between the two tables.
Entity-relationship (ER) diagramA visual diagram showing database tables (entities), their fields, primary keys, foreign keys, and the cardinality of relationships between tables.
CardinalityThe numerical nature of the relationship between two tables — typically one-to-one, one-to-many, or many-to-many — shown by notation on an ER diagram.
REST APIA web-based interface that allows programs to request and receive data from a remote server using standard HTTP methods; responses are commonly formatted as JSON.
EndpointA specific URL path within an API that provides access to a particular type of data or operation (e.g., /v1/population).
Rate limitA restriction set by an API provider on the number of requests a user or application may make within a given time period, such as per minute or per day.
Null conventionThe specific code or symbol a dataset uses to represent missing, unknown, or suppressed values, as defined in the data dictionary (e.g., -1, 99, or blank).
SQ3RA structured academic reading strategy — Survey, Question, Read, Recite, Review — useful for efficiently extracting key information from dense technical documents.
In class: Read a two-page excerpt from a real public-sector data dictionary (e.g., a US Census Bureau or city open-data portal data dictionary) and answer a structured question set: identify field names, data types, units, null conventions, and any stated data quality limitations. · Interpret a simplified ER diagram for a three-table relational database (customers, orders, products) and write a plain-language paragraph describing how the tables relate, what the primary and foreign keys are, and what analytical question the schema could answer. · Skim a short public REST API reference page (e.g., from data.gov or a weather API) and complete a structured annotation: identify the base URL, one GET endpoint, required parameters, response format, and rate limits; present findings in a two-minute verbal summary to the class.
Materials: US Census Bureau data dictionary excerpts (public domain); sample ER diagram (instructor-provided); public API reference page (printed or on-screen); annotation worksheet; academic reading strategies handout (SQ3R method)
Check: Data dictionary question set scored at ≥80% correct; ER diagram paragraph reviewed by instructor against a four-point rubric (accuracy of relationships, key identification, clarity, completeness — must score ≥3 on each dimension); verbal API summary checked against annotation worksheet.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

Data concepts and environments (CompTIA Data+)
1. In a data dictionary, the 'null convention' entry for a field tells the analyst:
Data analysis and queries (CompTIA Data+)
2. An analyst is reviewing an ER diagram and sees that the Orders table contains a field called `customer_id` which matches the primary key of the Customers table. The `customer_id` field in the Orders table is best described as a:
Data modeling (Microsoft PL-300 / Power BI)
3. A one-to-many relationship between the Customers table and the Orders table means:
Data acquisition (IBM Data Science Professional)
4. When skimming a REST API reference page to prepare for data collection, which of the following items should an analyst locate first to determine whether automated daily data pulls are feasible?
Data quality and governance (Google Data Analytics Certificate)
5. A public-sector data dictionary notes that income values above a certain threshold are 'top-coded' — replaced with the threshold value. This is an example of:
Data concepts and environments (CompTIA Data+)
6. An analyst receives a dataset with a field named `AGEP` but cannot find a plain-language description of it. The best immediate action is to:
Data acquisition (IBM Data Science Professional)
7. A student is annotating an API reference page and records the base URL as `https://api.census.gov/data` and the endpoint as `/2020/acs/acs5`. What is the full URL the student would use to call this endpoint?
Data governance and ethics (Google Data Analytics Certificate)
8. An analyst working with a dataset that contains personally identifiable information (PII) notices that a data dictionary entry states certain small-population records have been geographically suppressed. The analyst should:
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.