Open outerpress opened 7 years ago
So, after looking at the API for gender data, it looks like the only data point from the women card that we can currently get is the percent of women by year. This would be done by adding up the total count from /gender and calculating the percent based off of the gender
property.
The domestic violence and disability endpoints do not have a gender
property, so I see no way of calculating that value.
We also need to display which year's data we are using for the women card.
@Zak-Kent Is it possible to get more query strings on the endpoints? For instance, can we query by gender on the gender endpoint?
Hey @clemf, we can add an option to query the gender endpoint by gender for sure (also let me or Mark know if there are others). I'll try to hook up with Mark this week and see if he wants to take a crack at it, otherwise I can add it before the weekend.
@clemf Take a look at the POCvsGeneral tab. That gives us the percentages for quite a few of the data points, including Domestic Violence. This might be a good basis for Mark to start structuring the API.
http://homelessness.civicpdx.org/migration