{"uid":"cap_-n3XExdJUPQ_tku4geCfl","slug":"transport-ridership-trailing-mean-base-100-index-series-78f59f70","name":"Transport Ridership Trailing Mean & Base-100 Index Series","description":"Transport ridership — Trailing mean series + Base-100 series: Trailing mean series + Base-100 series 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-147?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"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2},"base_index":{"type":"integer","default":0,"maximum":199,"minimum":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_PuLIzQLqsVr3rbtCV_L0y","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":"Computes trailing moving-average and base-100 indexed time series for supplied transport ridership data (passenger_count or service_count) across up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"Take my transit ridership data — 4 rows with passenger_count and service_count fields for regions group-a and group-b across October 2026 — and give me a trailing mean series with a window of 3 and a base-100 index series anchored at row 0, analyzing passenger_count.","exampleUseCases":[{"title":"Smoothing monthly subway ridership trends","prompt":"I have monthly subway ridership records for 5 cities over the past year — each row has a date, region, passenger_count, and service_count. Can you run a trailing mean with a window of 4 and a base-100 series starting at row 0 on passenger_count so I can see smoothed trends and relative growth?"},{"title":"Benchmarking bus service counts against a baseline","prompt":"Here are 150 rows of daily bus service counts across 10 regions from January through May. Please compute a rolling mean with a window of 7 and index everything to base-100 starting at the first row, using service_count, so I can benchmark each region against the starting point."},{"title":"Comparing ridership recovery post-disruption","prompt":"I've got 60 rows of weekly ridership data for two transit corridors before and after a service disruption — dates, regions, passenger_count, and service_count. Run a trailing mean with window size 2 and a base-100 index anchored at row 10 on passenger_count so I can see how quickly ridership recovered relative to that pre-disruption baseline."}],"resultDescription":"Returns two structured analytical reports: (1) a trailing moving-average series computed over the specified window for the chosen field (passenger_count or service_count), and (2) a base-100 indexed series anchored at the specified base_index row — both computed locally from the supplied rows without any external data lookup.","failureModes":["Fewer than 1 row supplied — minimum row count not met","More than 200 rows submitted — exceeds maxItems limit","window parameter exceeds number of rows — trailing mean cannot be computed for early rows","base_index out of range for supplied row count","Missing required row fields (row_id, region, date, passenger_count, or service_count)","Date strings not matching YYYY-MM-DD pattern — schema validation failure","Payment not processed — x402 payment required before response is returned"],"whenToPreferThis":"Choose this endpoint when you have already-collected transport ridership records (up to 200 rows) and need both a rolling/trailing average series and a base-100 growth index in a single call for $0.01 USDC. It is a pure local computation — no external data fetching, live transit feeds, prediction, or professional assessment. Prefer it over general-purpose analytics tools when you want a cost-effective, packaged pair of time-series transformations specifically shaped for ridership data (passenger_count, service_count) with region and date dimensions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:23.986Z","isFirstParty":false,"canonicalSlug":"transport-ridership-trailing-mean-base-100-index-series-78f59f70"}