liveBook · Manning

Pipeline

As explained in Effective Data Analysis

A data pipeline is an automated sequence of processing steps that retrieves, transforms, and delivers data between systems.

A data pipeline is an automated sequence that retrieves, transforms, and delivers data between systems. It replaces repeated manual collection with a process that can be rerun, scheduled, and connected to an organization’s data warehouse. section 10.1.2 section 11.2.1

Pipeline design is a stakeholder and business decision as much as a technical one. Evaluate data volume, freshness, expected reuse, available connectors, warehouse access, engineering capacity, and the cost of maintaining automation. Manual downloads may be reasonable for small, static, or short-lived datasets; recurring or high-volume sources usually benefit more from automation. section 10.1.2 section 10.1.3

Common pipeline choices include:

  • Use an existing Fivetran connector when one supports the source; connect it with an API key rather than writing extraction code. section 11.2.1
  • Build a custom Python extraction and processing workflow, then deploy it through Apache Airflow when no suitable connector exists and regular refreshes are required. section 11.2.1
  • Upload relatively static or temporary data manually to an AWS S3 bucket and add it to the warehouse as a static table. section 11.2.1
  • Use web scraping when structured API data is unavailable, while planning for brittle scripts, HTML changes, and ongoing maintenance. section 10.2.3

Weekly source refresh

A dataset needed at least weekly is checked for a Fivetran connector. When none exists, the data engineering team prepares a custom Python workflow for Apache Airflow deployment, allowing the source to be refreshed into the warehouse. section 11.2.1

Figure 10.6 If manually downloading and manipulating data frustrates you and creates additional work, you can streamline the process if an API is available.
figure

Use the figure to compare the repeated effort of manual downloading and manipulation with the streamlined workflow enabled by an API pipeline. section 10.1.2

How Effective Data Analysis covers it

How deep it goes
Compares connectors, custom workflows, manual uploads, and scraping, but stops short of detailed implementation code or orchestration design.
Examples
Uses weather retrieval, weekly source refreshes, survey spreadsheets, static census data, and scraped HTML as pipeline cases.
What it assumes
Assumes familiarity with APIs, data warehouses, spreadsheets, and analysis workflows while introducing connector and orchestration choices.
What you can do after
Evaluate and recommend retrieval approaches, then select connector, custom workflow, manual upload, or scraping strategies for warehouse use.
How it connects
Connects APIs, ETL services, data warehouses, Python, Apache Airflow, Fivetran, AWS S3, CSV files, and web scraping.

Also explained in

Compare how 48 books explain pipeline →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Data Analysis. The section links point to the parts of the book it draws on.