Yes ok, I get that this is common, and I checked out the UK CRA data. The current draft of OSEP-04 can handle one level, or when the data is normalised, a node in a tree see here. I guess to support this type of denormed hierarchy we will need to introduce both a dedicated new UX pattern for this in the data loader, and, a new pattern on the attribute group in OSDP. For example, what is currently this:
Data producer: One who has data to load into OpenSpending Data consumer: One who uses OpenSpending to interact with and discover spend data
User stories
As a data producer, I want a structured way to declare if my data is that of a government, including the level of government, and the type of data (eg: a budget), so that my data can be used by data consumers who are specifically interested in government spending, and these users can associate my data with other data packages that have the same properties
As a data consumer, I want a way to find data on OpenSpending by filtering/searching by region, place (country), administration type (national, regional), so that I can access data from a particular region/government
As a data producer, I want to have a structured way to declare economic classification of my data, in addition to functional classification, so that I can tell unique stories with the data that are not possible via functional classification
As a data consumer, I want to look at a budget via economic classification if it exists for that budget, so I can get a cross section overview of things like salary expenditure, or interest rates on existing loans, as a percentage of the total budget.
As a data consumer, I want to progressively dive into a dataset by aggregating it initially at levels I’m familiar with (federal departments) before discovering the internal structure of those departments.
As a data storyteller, I want to use hierarchies in the visualisations that I build.
@stevage would you mind adding this as an issue on the Fiscal Data Package issue tracker? I"ll also add user stories there too on the thread. I’ve also got some ideas on how we might add it, so it would be good to present there all in one place.