{"uid":"cap_rACcqD1b8W_RCxGpIT15F","slug":"data-freshness-analytics-two-measure-correlation-date-by-category-pivot-32f796da","name":"Data Freshness Analytics: Two-Measure Correlation + Date-by-Category Pivot","description":"Data freshness — Two-measure correlation + Date by category pivot: Two-measure correlation + Date by category pivot for supplied data freshness records (age_minutes, record_count). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-analytics-06-182?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","age_minutes","record_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"age_minutes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"record_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","age_minutes":10,"record_count":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","age_minutes":20,"record_count":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","age_minutes":15,"record_count":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","age_minutes":30,"record_count":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["age_minutes","record_count"],"type":"string","default":"age_minutes"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mR_T5Y2jlweZPp0Sv_TJc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs two local analytical reports on supplied data freshness records — a Pearson/Spearman correlation between age_minutes and record_count, and a date-by-category pivot table — returning both results for up to 200 rows.","exampleAgentPrompt":"I have a set of data freshness records with age_minutes and record_count across different dataset groups and dates — can you run a two-measure correlation between age_minutes and record_count plus a date-by-category pivot for these up to 200 rows?","exampleUseCases":[{"title":"Pipeline staleness correlation check","prompt":"I'm monitoring four data pipelines and have rows with their age in minutes and record counts by date and group — run a correlation between age_minutes and record_count plus give me a date-by-group pivot so I can see which pipelines are going stale."},{"title":"Data quality dashboard summary","prompt":"I've got freshness logs for our datasets — each row has a date, a dataset_group, age_minutes, and record_count. Can you compute the two-measure correlation and a date-by-category pivot table so I can add both to our data quality dashboard?"},{"title":"Weekly freshness trend review","prompt":"Here are 80 rows of weekly data freshness records across our group-a and group-b datasets with dates from last month — please run the correlation analysis on age_minutes and record_count and also generate a pivot of record_count by date and category."}],"resultDescription":"Returns two independent analytical reports: (1) a two-measure correlation result (e.g. Pearson/Spearman coefficient and supporting statistics) between age_minutes and record_count, and (2) a date-by-category pivot table summarizing the selected field across dataset_group and date dimensions — both computed locally from the supplied rows with no external lookups.","failureModes":["Fewer than 1 row supplied — minimum item count not met","More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, dataset_group, date, age_minutes, record_count) — schema validation error","Invalid date format (must match YYYY-MM-DD pattern) — pattern validation failure","Non-numeric or out-of-range values for age_minutes or record_count — numeric bounds exceeded","Invalid enum value for 'field' parameter — must be 'age_minutes' or 'record_count'","All numeric values are null — insufficient data to compute correlation","Payment not confirmed — x402 micropayment of 0.01 USDC not completed"],"whenToPreferThis":"Choose this endpoint when you have up to 200 data freshness records (age_minutes + record_count) and need both a statistical correlation between those two measures AND a date-by-category pivot in a single low-cost call. It is ideal for pipeline monitoring, data quality dashboards, or freshness audits where you want two complementary views — relational and dimensional — without spinning up a full analytics environment. Prefer it over general-purpose analytics services when cost-per-call matters and the dataset fits the 200-row limit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:57:58.565Z","isFirstParty":false,"canonicalSlug":"data-freshness-analytics-two-measure-correlation-date-by-category-pivot-32f796da"}