{"uid":"cap_Ti6lCS-gNI1D8ZIep5_95","slug":"transport-ridership-numeric-row-ordering-keyed-dataset-comparison-860b5888","name":"Transport Ridership Numeric Row Ordering + Keyed Dataset Comparison","description":"Transport ridership — Numeric row ordering + Keyed dataset comparison: Numeric row ordering + Keyed dataset comparison 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-123?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"},"other":{"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":21},{"date":"2026-10-03","region":"group-a","row_id":"row-3","service_count":3,"passenger_count":17},{"date":"2026-10-04","region":"group-b","row_id":"row-4","service_count":4,"passenger_count":33}],"maxItems":200,"minItems":0}}},"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_u-yTAO_HuxfT-zHhgeUXW","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":"Ranks transport ridership rows numerically and compares two datasets by key for passenger_count or service_count fields, returning two analytical reports.","exampleAgentPrompt":"I have two sets of transit ridership records — one for October and one for November — each with up to 50 rows including row_id, region, date, passenger_count, and service_count. Can you rank both datasets by passenger_count and also compare the two datasets key by key to see where counts differ?","exampleUseCases":[{"title":"Monthly ridership ranking across regions","prompt":"I have 80 rows of bus ridership data for Q3 with row_id, region, date, passenger_count, and service_count. Can you rank them numerically by passenger_count and also compare them against my Q2 dataset to see which rows changed?"},{"title":"Service count ordering for transit audit","prompt":"I need to order my 40 transit service records by service_count and compare them to last year's equivalent records by row_id — the datasets have matching row_ids so a keyed comparison should work well."},{"title":"Region-level ridership diff between two periods","prompt":"Here are two tables of regional ridership data, each about 30 rows with passenger_count figures. Please rank the rows by passenger_count and do a keyed comparison between the two tables to highlight where passenger counts diverged."}],"resultDescription":"Returns two independent analytical reports: (1) a numeric row ordering that ranks the supplied transport ridership rows by the selected field (passenger_count or service_count), and (2) a keyed dataset comparison that matches rows by row_id between the primary and secondary dataset and highlights differences in the chosen metric. Both reports are computed locally with no external data.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, region, date, passenger_count, service_count) — validation error","Invalid date format (must be YYYY-MM-DD) — schema validation failure","Mismatched row_ids between datasets result in unmatched rows in comparison report","Null values in passenger_count or service_count may affect ranking output","Invalid field enum value — only passenger_count or service_count accepted"],"whenToPreferThis":"Choose this endpoint when you have up to 200 transport ridership records (with passenger_count and service_count) and need both a numeric ranking of rows and a key-based comparison between two datasets in a single $0.01 call. It is ideal for structured transit data analysis without requiring external lookups, predictions, or live data feeds. Prefer this over general-purpose analytics when the data is already structured with row_id, region, date, and the two ridership numeric fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:33:48.024Z","isFirstParty":false,"canonicalSlug":"transport-ridership-numeric-row-ordering-keyed-dataset-comparison-860b5888"}