Make "name" in a measure or dimension field unique and URL-compatible
Closed this issue · 2 comments
It is not made explicit in the spec that the name
in a given measure or field in a dimension in a FDP must be unique and url-compatible. These requirements would be useful in referring to measures and fields in a dimension in an implementation (see: #48 (comment) by @pudo). These constraints would come for free if measures and fields in a dimension were reverted back to objects (see: #48 (comment) by @pwalsh).
- The original change from object to array and justification.
- Example of issue: https://github.com/openspending/fiscal-data-packager/issues/34
I'm not sure why making these objects would guarantee url-compatibility.
On general point: +1. Re reverting to objects I'm doubtful as I think order is (marginally) useful and it does not matter too much either way.
Happy with any resolution here but i note object reversion is a breaking change.
This already happened.