Compare macro series
compare_macro_seriesRead-onlyIdempotent
Two to eight macro series on one date axis: unemployment or inflation across countries, government yields, GDP growth, CPI against the Fed funds rate. Mixed frequencies are aggregated at the source to the coarsest unless one is given; optional transformation and rebasing to 100. Returns metadata and a summary per series plus the aligned table. Find ids with search_macro_series.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Only observations on or before this date | |
| limit | No | Most recent rows to return | |
| start | No | Only observations on or after this date | |
| units | No | Transformation applied to every series at the source | level |
| rebase | No | Index every series to 100 at the first date where all have a value (levels only) | |
| frequency | No | Align every series to this frequency (default: the coarsest among them); a series already coarser keeps its own | |
| series_ids | Yes | Series ids to align, e.g. ['UNRATE','LRHUTTTTDEM156S','LRHUTTTTESM156S']. International ids follow patterns such as IRLTLT01DEM156N (Germany 10-year yield, monthly), LRHUTTTTESM156S (Spain unemployment rate), NAEXKP01GBQ657S (UK real GDP growth, q/q) | |
| aggregation | No | How finer series are aggregated: average, sum or end of period | avg |