{"uid":"cap_oxWwc8J0-MX1S2I79HoTg","slug":"transport-ridership-record-quality-audit-secondary-measure-weighted-4e9a4baa","name":"Transport Ridership — Record Quality Audit + Secondary-Measure Weighted Mean","description":"Transport ridership — Record quality audit + Secondary-measure weighted mean: Record quality audit + Secondary-measure weighted mean for supplied transport ridership records (passenger_count, service_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-economics-05-016?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","passenger_count","service_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"service_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"passenger_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","service_count":1,"passenger_count":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","service_count":2,"passenger_count":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","service_count":3,"passenger_count":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","service_count":4,"passenger_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["passenger_count","service_count"],"type":"string","default":"passenger_count"}}},"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_IhfEQ3NISXGDkE5yGU1KX","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":"Audits data quality and computes a service-count-weighted mean on up to 200 transport ridership records (passenger_count, service_count), returning two independent analytical reports.","exampleAgentPrompt":"Can you run a record quality audit and a service-count weighted mean on these transport ridership records? I have 4 rows — row-1 on 2026-10-01 in group-a with passenger_count 10 and service_count 1, row-2 on 2026-10-02 in group-b with passenger_count 20 and service_count 2, row-3 on 2026-10-03 in group-a with passenger_count 15 and service_count 3, and row-4 on 2026-10-04 in group-b with passenger_count 30 and service_count 4 — use passenger_count as the primary field.","exampleUseCases":[{"title":"Bus network data health check","prompt":"I have a dataset of 50 daily bus ridership records across regions — can you audit them for quality issues and also give me a service-count weighted mean of the passenger_count values? The rows have row_id, region, date, passenger_count, and service_count fields."},{"title":"Transit agency monthly report prep","prompt":"Before I finalize our monthly transit report, can you check these 120 ridership rows for data quality problems and compute a weighted average passenger count using service_count as the weight? I want to catch any nulls, outliers, or formatting issues first."},{"title":"Comparing ridership quality across regions","prompt":"I've got ridership data from three regions for last quarter — about 80 rows total — and I need both a quality audit to flag any bad records and a weighted mean of passenger_count weighted by service_count. Can you run both reports at once?"}],"resultDescription":"Two independent analytical reports: (1) a record quality audit flagging issues such as nulls, out-of-range values, or malformed fields across the supplied rows, and (2) a secondary-measure weighted mean calculation where passenger_count (or service_count) values are averaged using the complementary measure as weights. Both reports are computed locally with no external lookups.","failureModes":["More than 200 rows submitted — request exceeds row limit and will be rejected","Missing required fields (row_id, region, date, passenger_count, service_count) cause validation errors","Invalid date format (not YYYY-MM-DD) triggers schema rejection","All values null for the selected field renders weighted mean undefined","Payment not included or insufficient — x402 payment of 0.01 USDC required"],"whenToPreferThis":"Choose this endpoint when you need both a data quality audit and a weighted mean computed together on transport ridership data in a single low-cost call. It is purpose-built for passenger_count and service_count fields, returns two reports for the price of one, and operates entirely on supplied data without any live external lookups — making it suitable for offline batch validation and descriptive statistics on transit datasets of up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:16.391Z","isFirstParty":false,"canonicalSlug":"transport-ridership-record-quality-audit-secondary-measure-weighted-4e9a4baa"}