hackoregon / teamHomelessness-frontend

2016-2017 Homelessness Project Team - frontend code-staging site
http://hacko-homelessness-staging.s3-website-us-west-2.amazonaws.com/
MIT License
1 stars 10 forks source link

Hook up Migration Card to API #58

Closed outerpress closed 7 years ago

outerpress commented 7 years ago

http://homelessness.civicpdx.org/migration needs to be hooked up to the API

clemf commented 7 years ago

For the "12%" number, I don't think that is in the API. The /migration endpoint lists percentages of various areas that people moved from, but they do not add up to anything near 12%.

Similarly, the percentages in the tree map do not reflect what the API is returning. Maybe I am not understanding the numbers?

@Zak-Kent @outerpress

outerpress commented 7 years ago

The 12% comes from page 36 of PIT draft report 2015. Here's a screencap:

capture
outerpress commented 7 years ago

The percentages in the tree map come from page 37 of PIT draft report 2015:

capture

These look correct in http://service.civicpdx.org/homeless/#!/migration/migration_list.

clemf commented 7 years ago

Ok I see, I was just thrown off by the decimal format of the percentages.

Should we make an endpoint for the "homeless when they came here" numbers? It would be cool to get both years in the app. That's also a pretty important number in context of the homelessness issue.

Zak-Kent commented 7 years ago

We could calculate the numbers and just round up/down accordingly and add those as a field to the existing table. It looks like those numbers refer to the 224 people in the 2015 count that were homeless when they came to Multnomah.

clemf commented 7 years ago

Done in #65