Ameco
v0.1.0AMECO -- the annual macro-economic database of the European Commission's Directorate-General for…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ameco_series
Annual macro-economic series from AMECO, the European Commission (DG ECFIN) annual macro-economic database, by variable code and country or aggregate, with a year range. Covers unemployment, NAWRU, GDP, output gap, public finance, labour costs, prices and more, EU members, euro area and other economies, 1960 onward and Commission forecast years. Returns {found, variable, variable_name, chapter, series:[{area, area_name, transformation, unit, observations:[{year, value, obs_status}]}], as_of, source}; as_of is the Commission's last data update. The source does NOT label forecast years: its stat…
| Parameter | Type | Description |
|---|---|---|
variable * | string | AMECO variable code, e.g. ZNAWRU (NAWRU), NUTN (unemployment, persons). Use ameco_search_variables to find a code. |
chapter | string | Optional AMECO chapter like 01-03 to skip the lookup of which chapter holds the variable. |
country | string | Area code (EA20, EA21, EU27, DEU, FRA, USA) or English name; comma-separate several. "euro area" (default) returns the 21 and 20 country compositions. |
from_year | number | First year, e.g. 2015. |
to_year | number | Last year, e.g. 2027. |
transformation | string | Optional AMECO transformation code (1 = levels, 5 = annual percentage changes). |
unit | string | Optional AMECO unit code to select one unit when a variable is published in several (e.g. 0 = original units). |
ameco_search_variables
Find variables in AMECO, the European Commission (DG ECFIN) annual macro-economic database, by code or words in the name, e.g. "unemployment rate" or "output gap". Returns {found, matches_total, variables:[{code, name}], source}. Pass a code to ameco_series. found:false with a reason when no variable matches. e.g. {query:"NAWRU"}.
| Parameter | Type | Description |
|---|---|---|
query * | string | Variable code or words from its name, e.g. "NAWRU" or "potential GDP". |
limit | number | Maximum variables to return (default 20, max 100). |