human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Distributions by county report

Open cielf opened this issue 3 years ago • 4 comments

Summary

Essentials banks need a breakdown of their distributions by county to support quarterly grant requests

Each partner serves one or more counties (or equivalents). Each partner will provide the list of counties they serve, and the estimated percentage of items that will go to each county.

The information needed in the report is county(state), number of items distrubuted, and dollar amount of distribution.

The report would look roughly like this (translated to HE's style, of course) Screen Shot 2022-06-01 at 9 45 41 PM

To support this, we need to add counties/equivalents served to the partner organization page -- both for the partners and the banks -- allowing for multiple counties. The counties added would each have a percentage associated with them (said percentages have to add up to 100). In the report, the distributions will be allocated to each county according to the percentages entered by the partner. It is permitted to have no counties. In that case, all that partner's distributions would be in the "Unknown" category in the report.

Things to Consider

There is a list of all the us counties/equivalents at https://en.wikipedia.org/wiki/List_of_United_States_counties_and_county_equivalents

Criteria for Completion

  • [ ] Add counties/equivalents (multi-select) to the partner organization edit. Having no counties is allowed.
  • [ ] The partners counties have a percentage associated with them which adds up to 100
  • [ ] Add a report for the banks that reports the distributions by counties over a date range
  • [ ] Add tests proving that it all works

cielf avatar May 09 '22 13:05 cielf

This is currently waiting for some feedback from Caitlin on the best way to handle the counties/equivalents selection.

cielf avatar Jun 09 '22 08:06 cielf

Has been discussed by the developer group in the office hours of Sept 18, 2022. Approach to county data -- do it naively, and we'll see if we have to do something else for performance. The actual input, we think, should be informed by the very soon upcoming turbo/stimulus addition issue.

cielf avatar Sep 19 '22 15:09 cielf

I have groomed the county list found in Wikipedia to the attached csv. county_list.csv

cielf avatar Sep 19 '22 15:09 cielf

Grabbing this, at least long enough to the initial creation of the counties table

cielf avatar Sep 19 '22 16:09 cielf

This issue has been inactive for 248 hours (10.33 days) and will be automatically unassigned after 112 more hours (4.67 days).

github-actions[bot] avatar Sep 30 '22 00:09 github-actions[bot]

This issue has been inactive for 368 hours (15.33 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Oct 05 '22 00:10 github-actions[bot]

Still working on this -- making good progess, though I'm now at the point where I need to learn things I don't know to make it work!

cielf avatar Oct 05 '22 16:10 cielf

This issue has been inactive for 248 hours (10.33 days) and will be automatically unassigned after 112 more hours (4.67 days).

github-actions[bot] avatar Oct 16 '22 00:10 github-actions[bot]

This issue has been inactive for 368 hours (15.33 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Oct 21 '22 00:10 github-actions[bot]

There is a [WIP] PR for this now. #3206

cielf avatar Oct 26 '22 15:10 cielf

This issue has been inactive for 253 hours (10.54 days) and will be automatically unassigned after 107 more hours (4.46 days).

github-actions[bot] avatar Nov 07 '22 00:11 github-actions[bot]

Still working on it. Hopefully done this week

cielf avatar Nov 07 '22 15:11 cielf

This issue has been inactive for 249 hours (10.38 days) and will be automatically unassigned after 111 more hours (4.63 days).

github-actions[bot] avatar Nov 18 '22 00:11 github-actions[bot]

This issue has been inactive for 369 hours (15.38 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Nov 23 '22 00:11 github-actions[bot]

Back to working on this now that the partner merge is in place-ish.

cielf avatar Dec 18 '22 16:12 cielf

This issue has been inactive for 248 hours (10.33 days) and will be automatically unassigned after 112 more hours (4.67 days).

github-actions[bot] avatar Dec 29 '22 00:12 github-actions[bot]

This issue has been inactive for 367 hours (15.29 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Jan 03 '23 00:01 github-actions[bot]

Almost done! Could put in a PR now, but there are a lot of aesthetic issues.

cielf avatar Jan 13 '23 12:01 cielf

This issue has been inactive for 252 hours (10.50 days) and will be automatically unassigned after 108 more hours (4.50 days).

github-actions[bot] avatar Jan 24 '23 00:01 github-actions[bot]

This issue has been inactive for 372 hours (15.50 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Jan 29 '23 00:01 github-actions[bot]

This issue has been inactive for 372 hours (15.50 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Apr 21 '23 00:04 github-actions[bot]