openspending/fiscal-data-package

change name `mapping` to `model` or `cube`

Closed this issue · 3 comments

Probably model : I believe it is much closer to what we now have than mapping.

Raised in #93 (comment)

Also https://github.com/dataprotocols/dataprotocols/issues/238

pudo commented

I'm generally in favor of this as "mapping" is probably insufficient for describing what is happening in the mapping object. Beyond mapping physical ("source") columns to logical columns, the object describes how they relate to each other ("measures" v.s. "dimensions"). The fact that this object also gives fiscal types to dimensions makes me prefer the more generic model over cube.

AGREED. Rename mapping to model.