You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per fiscal_year and service_area_code, add a pct_of_total field in addition to the amount field. The percent field is the amount divided by the aggregated total for the service_area_code in the fiscal_year of that record. So each object will give the percentage of the service code that is budgeted to the bureau for the given year.
Sample response
[
{
"fiscal_year": "2014-15",
"service_area_code": "CD",
"bureau_code": "AU",
"bureau_name": "Office of the City Auditor",
"amount": 5085506,
"pct_of_total": 1.66
},
{
"fiscal_year": "2014-15",
"service_area_code": "CD",
"bureau_code": "DS",
"bureau_name": "Bureau of Development Services",
"amount": 93304186,
"pct_of_total": 30.54
},
...
]
This issue is a follow-up to the initial implementation of the Bureau endpoint as a solution to Issue #76.
The text was updated successfully, but these errors were encountered:
Desired behavior
Per
fiscal_year
andservice_area_code
, add apct_of_total
field in addition to theamount
field. The percent field is theamount
divided by the aggregated total for theservice_area_code
in thefiscal_year
of that record. So each object will give the percentage of the service code that is budgeted to the bureau for the given year.Sample response
[
{
"fiscal_year": "2014-15",
"service_area_code": "CD",
"bureau_code": "AU",
"bureau_name": "Office of the City Auditor",
"amount": 5085506,
"pct_of_total": 1.66
},
{
"fiscal_year": "2014-15",
"service_area_code": "CD",
"bureau_code": "DS",
"bureau_name": "Bureau of Development Services",
"amount": 93304186,
"pct_of_total": 30.54
},
...
]
This issue is a follow-up to the initial implementation of the Bureau endpoint as a solution to Issue #76.
The text was updated successfully, but these errors were encountered: