iati-data-access / iati-flattener

Library to flatten IATI data
GNU Affero General Public License v3.0
1 stars 3 forks source link

Budgets should be calculated using a daily-rate, then aggregated back up #16

Closed simon-20 closed 11 months ago

simon-20 commented 1 year ago

The existing CDFD code makes the simplifying assumption that all quarters have the same number of days, and it splits the budget values across each of the quarters. However, the code should not be making this simplifying assumption, and should be disaggregating by day and then back up by quarter to account for quarters have variable numbers of days.