Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create data endpoint for the Bureau totals for a Service Area #76

Closed
mxmoss opened this issue Mar 21, 2017 · 3 comments
Closed

Create data endpoint for the Bureau totals for a Service Area #76

mxmoss opened this issue Mar 21, 2017 · 3 comments
Assignees

Comments

@mxmoss
Copy link
Contributor

mxmoss commented Mar 21, 2017

Create data endpoint for the Bureau totals for a Service Area
Filtered by

  • Service Area
  • Fiscal Year
    Return Amount in dollars
    Example results (Amounts not accurate)

Service Area = Public Safety
Bureau | Fiscal Yr | Object Code | Amount

Emergency Comm. | 2014-15 | Personal | $140,034,432
Emergency Comm. | 2014-15 | IMS | $153,234,432
Emergency Comm. | 2014-15 | EMS | $134,344,432
Emergency Mgmt. | 2014-15 | Personal | $34,024,432
Emergency Mgmt. | 2014-15 | IMS | $43,444,334
Emergency Mgmt. | 2014-15 | EMS | $85,343,324
PPB | 2014-15 | Personal | $123,343,234
PPB | 2014-15 | IMS | $163,344,324
PPB | 2014-15 | EMS | $173,432,342

@jimtyhurst
Copy link
Contributor

I would like to see this endpoint implemented as:

  • URI: /history/bureau/
  • Optional query parameters: fiscal_year, service_area_code, bureau_code, bureau, object_code.
  • Response fields: fiscal_year, service_area_code, service_area, bureau_code, bureau, object_code, accounting_object_name, amount

where all fields are strings, except integer amount (no dollar sign).

@mxmoss mxmoss self-assigned this Apr 4, 2017
@mxmoss
Copy link
Contributor Author

mxmoss commented Apr 11, 2017

We talked & decided to return these fields:

  • fiscal_year
  • service_area_code
  • bureau_code
  • bureau_name
  • sum of amount

These fields are desired, but not implemented in this story:

  • service_area_name
  • % of total

@jimtyhurst
Copy link
Contributor

Partially implemented by Pull Request #108. Remaining work is specified in Issue #132 and Issue #133.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants