ons api - Can I get GDP history in JSON format from ONS API? -
i'd create dynamic graphs charting uk gdp movements on last couple of years library such d3.
is possible gdp related info via ons api ?
some gdp-related datasets available in json-stat via openapi e.g. http://web.ons.gov.uk/ons/api/data/dataset/reggva02.json?context=economic&jsontype=json-stat&apikey=12345&geog=2015eurostath&diff=&totals=false
however if want simple timeseries, main ons web site shout. if go https://www.ons.gov.uk/economy/grossdomesticproductgdp
you'll list of gdp-related time series. when find 1 want, append /data url underlying numbers in json.
e.g. https://www.ons.gov.uk/economy/grossdomesticproductgdp/timeseries/ybha/edp2/data
Comments
Post a Comment