{"uid":"cap_QXUxfNd937JmOQSK6Xya9","slug":"travel-administration-two-measure-correlation-keyed-dataset-comparison-3fc395f7","name":"Travel Administration: Two-Measure Correlation + Keyed Dataset Comparison","description":"Travel administration — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison for supplied travel administration records (trip_count, recorded_cost). 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-operations-14-183?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","trip_count","recorded_cost"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"trip_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"recorded_cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","trip_count":10,"recorded_cost":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","trip_count":20,"recorded_cost":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","trip_count":15,"recorded_cost":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","trip_count":30,"recorded_cost":4}],"maxItems":200,"minItems":1},"other":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","trip_count","recorded_cost"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"trip_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"recorded_cost":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","trip_count":10,"recorded_cost":1},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","trip_count":21,"recorded_cost":2},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","trip_count":17,"recorded_cost":3},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","trip_count":33,"recorded_cost":4}],"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_5t20uWknTff7rpdpVOxSy","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 Pearson correlation between trip_count and recorded_cost, and performs a keyed row-by-row comparison between two travel administration datasets (up to 200 rows each).","exampleAgentPrompt":"Can you run a correlation analysis between trip_count and recorded_cost across my travel records, and also compare them against last month's dataset to flag any row-level differences? I have up to 80 rows in each dataset, keyed by row_id.","exampleUseCases":[{"title":"Travel spend vs frequency correlation","prompt":"I have 120 rows of corporate travel data with trip counts and recorded costs per team group — can you compute the correlation between trip_count and recorded_cost and tell me how strongly they're related?"},{"title":"Policy change impact comparison","prompt":"I want to compare our travel records from before and after we rolled out the new booking policy — can you do a keyed row-by-row diff of the two datasets (about 90 rows each, matched on row_id) to show what changed in trip_count and recorded_cost?"},{"title":"Monthly travel dataset audit","prompt":"We have two exports of our travel administration data — one from last month and one from this month, each with about 60 rows — can you compare them by row_id and also check if there's any correlation between trip volume and cost within this month's data?"}],"resultDescription":"Returns two analytical reports: (1) a Pearson correlation result between trip_count and recorded_cost across the primary dataset, and (2) a keyed comparison report showing row-level matches, mismatches, and value differences between the primary and secondary datasets, based on row_id as the join key.","failureModes":["Exceeds 200-row limit — request rejected or truncated","Missing required fields (row_id, trip_count, recorded_cost) — validation error","Null values in numeric fields may affect correlation computation","row_id mismatch between datasets results in unmatched rows flagged","Malformed date strings not matching YYYY-MM-DD pattern cause schema validation failure","Empty rows array rejected (minItems: 1)"],"whenToPreferThis":"Choose this endpoint when you need both a statistical correlation between two numeric travel metrics and a structural diff between two versions of the same dataset in a single API call. It is ideal for travel expense audits, policy-change impact assessments, or periodic data quality checks on corporate travel records — particularly when working with up to 200 rows and wanting two distinct analytical outputs from one request at a low flat fee.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:51:11.385Z","isFirstParty":false,"canonicalSlug":"travel-administration-two-measure-correlation-keyed-dataset-comparison-3fc395f7"}