As the final step in the pipeline, before uploading the data to OpenSpending,
we go over the datapackage looking for a column with
osType == 'date:fiscal-year' (there can only be one). If there's no such
column, the datapackage isn't modified, if there is, we go over the data and
create one resource per year.
The pre-conditions for this processor are:
There is only (and only one) column with osType == 'date:fiscal-year'
There is only one resource
If either pre-condition isn't met, we return the datapackage unmodified.
Fixes openspending/openspending#1222
This pull request fixes # .
[ ] I've added tests to cover the proposed changes
As the final step in the pipeline, before uploading the data to OpenSpending, we go over the datapackage looking for a column with
osType == 'date:fiscal-year'
(there can only be one). If there's no such column, the datapackage isn't modified, if there is, we go over the data and create one resource per year.The pre-conditions for this processor are:
osType == 'date:fiscal-year'
If either pre-condition isn't met, we return the datapackage unmodified.
Fixes openspending/openspending#1222
This pull request fixes # .
Changes proposed in this pull request:
-
-