{"uid":"cap_-WIIS_29MmEr-diEOmKqe","slug":"study-recruitment-two-measure-correlation-and-date-by-category-pivot-83ae135c","name":"Study Recruitment Two-Measure Correlation and Date-by-Category Pivot","description":"Study recruitment — Two-measure correlation + Date by category pivot: Two-measure correlation + Date by category pivot for supplied study recruitment records (eligible_candidates, enrolled_candidates). 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-education-09-182?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","eligible_candidates","enrolled_candidates"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"course_group":{"type":"string","default":"","maxLength":80},"eligible_candidates":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"enrolled_candidates":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","course_group":"group-a","eligible_candidates":10,"enrolled_candidates":1},{"date":"2026-10-02","row_id":"row-2","course_group":"group-b","eligible_candidates":20,"enrolled_candidates":2},{"date":"2026-10-03","row_id":"row-3","course_group":"group-a","eligible_candidates":15,"enrolled_candidates":3},{"date":"2026-10-04","row_id":"row-4","course_group":"group-b","eligible_candidates":30,"enrolled_candidates":4}],"maxItems":200,"minItems":1},"field":{"enum":["eligible_candidates","enrolled_candidates"],"type":"string","default":"eligible_candidates"}}},"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_FIrWHFD-Httk4gb4T5-nh","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 two-measure correlation and a date-by-category pivot table for supplied study recruitment data (eligible_candidates, enrolled_candidates) across up to 200 rows.","exampleAgentPrompt":"I have study recruitment records with eligible_candidates and enrolled_candidates across different course groups and dates — can you run a correlation between those two measures and also pivot the data by date and category? Here are the rows: [{\"date\":\"2026-10-01\",\"row_id\":\"row-1\",\"course_group\":\"group-a\",\"eligible_candidates\":10,\"enrolled_candidates\":1},{\"date\":\"2026-10-02\",\"row_id\":\"row-2\",\"course_group\":\"group-b\",\"eligible_candidates\":20,\"enrolled_candidates\":2}].","exampleUseCases":[{"title":"Recruitment conversion rate correlation","prompt":"I've got weekly recruitment records for a clinical trial — each row has the date, the study arm name, how many candidates were eligible, and how many actually enrolled. Can you correlate eligible_candidates with enrolled_candidates and also pivot the totals by date and study arm?"},{"title":"Education program enrollment analysis","prompt":"Here's a dataset of course enrollment records by group and date, with eligible_candidates and enrolled_candidates columns. Run a correlation between the two metrics and generate a date-by-group pivot so I can see enrollment patterns over time."},{"title":"Multi-site study recruitment summary","prompt":"We're tracking recruitment across multiple sites over several months. I have up to 150 rows with site names as course_group, dates, eligible counts, and enrolled counts. Can you produce the two-measure correlation report and the date-by-category breakdown for me?"}],"resultDescription":"Returns two independent analytical reports: (1) a Pearson or similar correlation between eligible_candidates and enrolled_candidates across all supplied rows, and (2) a pivot table aggregating one of the two measures by date and course_group category. Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Missing required fields (row_id, date, course_group) cause validation errors","Date strings not matching YYYY-MM-DD pattern are rejected","Submitting more than 200 rows exceeds the row limit and may be rejected","Null values in both numeric columns may reduce correlation sample size","Malformed JSON input returns a parsing error","Payment of 0.01 USDC must be completed via x402 protocol or the call is rejected"],"whenToPreferThis":"Choose this endpoint when you have tabular study recruitment data (eligible vs enrolled candidates) and need both a correlation analysis and a date-by-category pivot in a single low-cost call. It is ideal for offline analytical workflows where no live data lookup or external enrichment is needed and the dataset fits within 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:50:02.493Z","isFirstParty":false,"canonicalSlug":"study-recruitment-two-measure-correlation-and-date-by-category-pivot-83ae135c"}