Metric guide
Coverage checks: know the sample before the number
Every metric rests on a sample. Four coverage fields tell you whether the sample can carry the claim you are about to make.
Educational reference; check the operation contract for executable availability.
The question it answers
Coverage checks decide whether a result may be reported at all. They answer what proportion of the intended population arrived, how many rows the evidence rests on, how old the observation is, and which required fields were missing. Run them before the analysis, not after a number looks surprising.
Plain-language definition
Field coverage is the share of expected records that carry a usable value. Sample size is the count of usable observations, not the count of bytes requested. Observation age is the distance between collection time and publication time. Missing-field rate is the share of records lacking a field the calculation needs.
How the value is calculated
Take usable rows divided by expected rows. Keep exclusions in a table with a reason each: duplicate, out of window, missing required time, unrelated match. Report the observation timestamp and the report timestamp separately. A successful API response is a collection event, not proof that the sample represents a population.
How to read the result
Read coverage before an average, because a high average computed on a thin slice is still a thin claim. If freshness age varies across the comparison, the latest period looks weak purely because it is young. Where a required field is missing for part of the sample, present the calculable subset and name the rest as unavailable.
What to read beside it
Combine coverage with the distribution so a small and skewed sample is obvious, and with the query version so a change in collection rules is visible. For a time series, add the count per bucket; an empty bucket is a gap, never a zero.
What it cannot establish
DataPI cannot report coverage of a population it never queried, and public collection does not see private accounts, deleted content or platform-only audiences. Deletion means an identical past query can return a different total today. Coverage metadata describes the request, not the market.
A worked example
Illustrative coverage audit before reporting
| Stage | Rows | Meaning |
|---|---|---|
| Records received | 1,000 | transfer succeeded; analysis not yet validated |
| Unique content | 950 | deduplicated by platform content identity |
| In window with usable time | 900 | supports the requested time series |
| Population coverage | Missing | not established by this request |
Nine hundred usable rows support a descriptive statement about this request. They do not establish that nine hundred is the whole population, so the report must keep that last row as unknown.
Metrics and exact formulas
These IDs are implemented in the catalog. Returned values depend on inputs, sampling and operation availability. Technical contract definitions are preserved in English.
quality.coverageField coverage
- Definition
- Field coverage. Quality indicators describe this collection, not the platform's true population.
- Formula
- present fields / expected fields × 100
- Inputs
- collection metadata
- Platforms
- all
- Limitations and freshness
- Quality indicators describe this collection, not the platform's true population. Implemented through the Social Intelligence result contract and dashboard; values still depend on the provider sample. Snapshot-time; provider timestamp is required on every result.
- Result field
- analytics.metrics
quality.sample_sizeSample size
- Definition
- Sample size. Quality indicators describe this collection, not the platform's true population.
- Formula
- count(observed rows)
- Inputs
- collection metadata
- Platforms
- all
- Limitations and freshness
- Quality indicators describe this collection, not the platform's true population. Implemented through the Social Intelligence result contract and dashboard; values still depend on the provider sample. Snapshot-time; provider timestamp is required on every result.
- Result field
- analytics.metrics
quality.freshness_ageObservation age
- Definition
- Observation age. Quality indicators describe this collection, not the platform's true population.
- Formula
- now - fetched_at (hours)
- Inputs
- snapshot.created_at
- Platforms
- all
- Limitations and freshness
- Quality indicators describe this collection, not the platform's true population. Implemented through the Social Intelligence result contract and dashboard; values still depend on the provider sample. Snapshot-time; provider timestamp is required on every result.
- Result field
- analytics.metrics
quality.missing_field_rateMissing-field rate
- Definition
- Missing-field rate. Quality indicators describe this collection, not the platform's true population.
- Formula
- missing fields / expected fields
- Inputs
- normalized rows
- Platforms
- all
- Limitations and freshness
- Quality indicators describe this collection, not the platform's true population. Implemented through the Social Intelligence result contract and dashboard; values still depend on the provider sample. Snapshot-time; provider timestamp is required on every result.
- Result field
- analytics.metrics
Put this information to work
Coverage, freshness, and data quality
Decide whether a result is strong enough for the intended decision before interpreting its headline number.
Medians and outliers: why the average hides the post
One widely shared post can carry an account average on its own. Use the median, the quartiles and the zero-engagement share instead.
Is this a trend? Testing topic growth before you act
A rising hashtag count can be one account, one event or one bad query. Four checks separate a trend from a spike.
Views and reach: what a view does not tell you
A view is an exposure event, not a person. Separate views, unique viewers and followers before you report reach to anyone.
Bar charts: compare categories fairly
Compare accounts, formats, or topics with a common measure, a visible zero baseline, and a declared sample.
Heatmaps: patterns across two dimensions
Find clusters, sparse areas, and missing coverage while checking what each colored cell actually measures.
/v1/analytics/query
API contract, models and request examples
/v1/social/results/{snapshot_id}
API contract, models and request examples
Move public social data into the systems you already run
Collect through one documented contract, keep coverage and observation time attached, and hand the result to a warehouse, BI tool or internal workflow without rebuilding an adapter per source.
Agency reporting that separates evidence from platform results
Build a repeatable client review that shows what was observed publicly, what was calculated, and what came from the client’s own advertising and analytics accounts.
Product QA prioritisation from public complaints
Turn scattered public complaints into a ranked QA list where every item carries its sources, its independent count and the limit the evidence still has.
Comment triage that ends in an owner, not a dashboard
A published interview describes one beverage team routing consumer questions through a social interaction centre. Here is a triage queue built from that idea.
Splitting a destination conversation by market and season
Two cities can discuss the same destination for opposite reasons. Split the conversation before you write one marketing sentence for both.
Impersonation screening without automated accusations
A lookalike handle is a lead, not a verdict. Screen candidates against evidence a human can review, and never file a claim from a score alone.
Sources and method
Updated: 2026-10-31