{"uid":"cap_QqV9v5XtPE8IDFeDRSpgN","slug":"tourism-observations-trailing-mean-series-secondary-measure-weighted-20555509","name":"Tourism Observations — Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Tourism observations — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied tourism observations records (visitor_count, overnight_stays). 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-14-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","visitor_count","overnight_stays"],"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},"visitor_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"overnight_stays":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","visitor_count":10,"overnight_stays":1},{"date":"2026-10-02","region":"group-b","row_id":"row-2","visitor_count":20,"overnight_stays":2},{"date":"2026-10-03","region":"group-a","row_id":"row-3","visitor_count":15,"overnight_stays":3},{"date":"2026-10-04","region":"group-b","row_id":"row-4","visitor_count":30,"overnight_stays":4}],"maxItems":200,"minItems":1},"field":{"enum":["visitor_count","overnight_stays"],"type":"string","default":"visitor_count"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_yackdh2um0W4bONmWq-b_","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 a trailing mean series and a secondary-measure weighted mean for up to 200 tourism observation records (visitor_count, overnight_stays) using local analytical engines.","exampleAgentPrompt":"Run a trailing mean series and secondary-measure weighted mean on my tourism data — I have 4 rows with visitor_count and overnight_stays for regions group-a and group-b dated 2026-10-01 through 2026-10-04, using visitor_count as the primary field and a window of 2.","exampleUseCases":[{"title":"Regional tourism trend smoothing","prompt":"I have monthly visitor count records for 5 regions over the past year — can you compute a trailing mean series with a window of 3 on the visitor_count field and also give me the overnight_stays weighted mean?"},{"title":"Hospitality dashboard analytics","prompt":"My dashboard needs a rolling average for overnight stays data across 10 hotel regions, with a window of 4. Run the trailing mean and weighted mean reports on these 50 observation rows using overnight_stays as the field."},{"title":"Tourism seasonality analysis","prompt":"I want to smooth out the noise in my weekly tourism data — run a trailing mean series with window size 7 on visitor_count for these 100 rows across coastal and inland regions, and include the secondary-measure weighted mean too."}],"resultDescription":"Returns two analytical reports: (1) a trailing mean series for the selected field (visitor_count or overnight_stays) computed over the specified rolling window across the supplied rows, and (2) a secondary-measure weighted mean using the other numeric measure as weights. Results cover up to 200 input rows processed locally without any external data lookup.","failureModes":["Fewer than 1 row supplied — validation error","Window size larger than number of rows — may produce partial or null results for early rows","Invalid date format (not YYYY-MM-DD) — schema validation failure","More than 200 rows submitted — request rejected","Missing required fields (row_id, region, date) — validation error","Null values in the primary numeric field — may result in gaps or nulls in trailing mean output"],"whenToPreferThis":"Choose this endpoint when you need both a trailing mean (rolling average) series and a secondary-measure weighted mean computed together on tourism-specific tabular data (visitor_count, overnight_stays) in a single low-cost call. It is ideal for offline or batch analytical workflows where no live data lookup, prediction, or external enrichment is needed and you want deterministic statistical outputs on up to 200 rows for $0.01 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:35.744Z","isFirstParty":false,"canonicalSlug":"tourism-observations-trailing-mean-series-secondary-measure-weighted-20555509"}