Data Source
A data source is any origin point from which data enters an analysis or system — a production database, a third-party API, a sensor feed, a file upload, a web scrape, a survey instrument. The term is deliberately broad because the engineering and trust considerations it raises apply regardless of the specific format: every data source has its own update frequency, access method, reliability profile, and failure modes, and understanding those properties is a prerequisite to using the data correctly, independent of whatever the data actually contains.
Data sources are commonly split into first-party, second-party, and third-party, a classification that matters because it tracks directly to data quality and reliability confidence. First-party data is collected directly by the organization using it — a company's own transaction logs, its own website analytics, its own customer survey responses — and carries the highest confidence because the organization controls the collection methodology and can verify it. Second-party data is another organization's first-party data, shared directly through a partnership or data-sharing agreement — a retailer sharing purchase data with a brand it stocks. Third-party data is aggregated and sold by a vendor with no direct relationship to the original source — demographic or intent data purchased from a data broker — and generally carries the lowest confidence, because the buyer has no visibility into exactly how, when, or from whom the data was collected, and data broker methodology is frequently opaque or undisclosed.
Data sources are also classified by access pattern — batch versus streaming — and this choice shapes the entire downstream pipeline architecture rather than being a minor implementation detail. A batch source delivers data in scheduled chunks: a nightly database export, a weekly report pulled from a partner API, a CSV uploaded once a month. A streaming source delivers data continuously as events occur: clickstream logs, IoT sensor readings, financial transaction feeds. Batch sources are simpler to validate and reprocess (a failed batch can be rerun from scratch), while streaming sources require handling partial failures, out-of-order arrival, and exactly-once processing guarantees in real time — which is why organizations generally default to batch processing unless a specific use case (fraud detection, real-time alerting) genuinely requires the lower latency streaming provides.
Source reliability has a documented failure pattern worth naming specifically: upstream schema drift, where a data source changes its structure — a field renamed, a type changed from integer to string, a new required field added — without any corresponding change on the receiving end, silently breaking downstream pipelines or, worse, silently producing malformed-but-still-running output. This is a particularly common failure mode for third-party API data sources, since the consuming organization has no control over when or how the API provider changes its response format, which is why schema validation at ingestion — explicitly checking that incoming data matches the expected structure before it enters a pipeline — has become standard defensive practice rather than an optional safeguard.
Data lineage — the documented trail of exactly which data source, and which transformation steps, produced a given downstream dataset or metric — exists specifically to answer the question "where did this number actually come from" when a result looks wrong or a stakeholder needs to trust it. Without lineage tracking, diagnosing a bad number in a dashboard that's three or four transformation steps removed from its original source becomes a manual, time-consuming investigation; lineage tooling (built into most modern data pipeline orchestration platforms) makes that trail queryable rather than requiring institutional memory of how the pipeline was built.
Read a data source as the point of origin whose properties — who collected it, how confidently, on what schedule, and how it might silently change — determine how much trust a downstream analysis is actually entitled to place in the data: the first-party-to-third-party spectrum tracks collection confidence, batch-versus-streaming shapes pipeline architecture, and the recurring operational hazard, upstream schema drift, is exactly why validation at ingestion and documented data lineage have become standard infrastructure rather than afterthoughts.