Ameco

v0.1.0
io.github.pipeworx-io/ameco Checked 1 day ago Published 1 day ago

AMECO -- 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…

ParameterTypeDescription
variable *stringAMECO variable code, e.g. ZNAWRU (NAWRU), NUTN (unemployment, persons). Use ameco_search_variables to find a code.
chapterstringOptional AMECO chapter like 01-03 to skip the lookup of which chapter holds the variable.
countrystringArea code (EA20, EA21, EU27, DEU, FRA, USA) or English name; comma-separate several. "euro area" (default) returns the 21 and 20 country compositions.
from_yearnumberFirst year, e.g. 2015.
to_yearnumberLast year, e.g. 2027.
transformationstringOptional AMECO transformation code (1 = levels, 5 = annual percentage changes).
unitstringOptional 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"}.

ParameterTypeDescription
query *stringVariable code or words from its name, e.g. "NAWRU" or "potential GDP".
limitnumberMaximum variables to return (default 20, max 100).