socrata / odn-backend

Backend for the Open Data Network.
Other
9 stars 6 forks source link

forecasts not consistent w/ prod #47

Closed zang0 closed 8 years ago

zang0 commented 8 years ago

https://api.opendatanetwork.com/data/v1/values?app_token=cQovpGcdUT1CSzgYk0KPYdAI0&describe=true&forecast=5&format=google&variable=demographics.population.count&entity_id=1600000US5363000

from

https://opendatanetwork-staging.herokuapp.com/entity/1600000US5363000/Seattle_WA/demographics.population.change?

states:

The last measured Population Count for Seattle, WA was 624,681 for 2013. Seattle, WA experienced an average growth rate of 1.0% from our first statistic recorded in 2009. If past trends continue, we forecast the Population Count to be 663,026 by 2018.

vs

The last measured population for Seattle, WA was 624,681. Seattle, WA experienced an average annual growth rate of 1.29% from our first population statistic recorded in 2009. If past trends continue, we forecast the population to be 663,026 by 2018.

on prod: http://www.opendatanetwork.com/region/1600000US5363000/Seattle_WA/population/population_change/2013?

Overly aggressive rounding on the 1.0% vs 1.29%?

_2 here's another

http://www.opendatanetwork.com/region/310M200US42660/Seattle_Metro_Area_(WA)/gdp/gdp_per_capita/2013?

The last measured per capita gdp for Seattle Metro Area (WA) was $74,701. Seattle Metro Area (WA) experienced an average annual growth rate of 1.32% from our first per capita gdp statistic recorded in 2001. If past trends continue, we forecast the per capita gdp to be $78,962 by 2018.

vs

https://api.opendatanetwork.com/data/v1/values?app_token=cQovpGcdUT1CSzgYk0KPYdAI0&describe=true&forecast=5&format=google&variable=economy.gdp.per_capita_gdp&entity_id=310M200US42660

The last measured GDP per capita for Seattle Metro Area (WA) was $74,701 for 2013. Seattle Metro Area (WA) experienced an average growth rate of 1.2% from our first statistic recorded in 2001. If past trends continue, we forecast the GDP per capita to be $78,962 by 2018.