Get Reporter Benchmark
get_reporter_benchmarkEvery EU reporter ranked by value for one year -- the country-view
counterpart of get_reporter_detail. Returns a single-year snapshot
(every real EU member state's quantity, value and price per flow,
ranked by value) plus a benchmark price time series: the weighted
average across whichever reporters query.reporter resolves to (the
whole EU by default, or narrower when query.reporter is itself an
aggregate -- euro area, a named group, or an ad hoc custom group), the
cross-reporter min/max envelope, and the selected reporter's own line
when query.reporter is a single real member state. Use it to answer
"how does this country -- or reporter group -- compare to every other
reporter?".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year for the cross-sectional snapshot. Defaults to the latest full year with data. | |
| query | Yes | The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default. | |
| compact | No | If true, condense long numeric time series (more than ~6 points -- typically monthly/quarterly windows or wide multi-partner/multi-period breakdowns) into summary statistics (first, last, min, max, mean, pct_change) instead of returning every data point. Leave false for full-fidelity series (e.g. to actually plot a chart); set true when you just need the headline trend and want to save context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||