Units and scales (and currency) in Table Schema
See original GitHub issueSTATUS:
- We had a Units spec - see #35 - which then got moved out but we’re moving back in see https://github.com/frictionlessdata/specs/issues/537
- We then can reference this from Table Schema - this issue here
Excellent discussion with @dr-shorthair today led me to consider importance of units and scales (and currency) in JSON Table Schema.
Suggest we could specific at MAY
level:
unit: simple-string-descriptor e.g. m/s
unitSemantic: pointer-to-a-url-describing that unit - could be RDF uri
currency: # could be part of units but think probably better separate
factor: a scaling factor (e.g. 1000 would mean to scale by 1000
References
- QUDT - http://www.qudt.org/ - quantity, unit, dimensions and types -
- Unified code of units of measure - http://unitsofmeasure.org/
- Data Protocol on Units - http://dataprotocols.org/units/
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:30 (21 by maintainers)
Top Results From Across the Web
SAP Currency Unit Tables - TCode Search
# TABLE Table Type
1 EKPO Transparent Table
2 VBAK Transparent Table
3 BSEG Cluster Table
Read more >money and smallmoney (Transact-SQL) - Microsoft Learn
The money and smallmoney data types are accurate to a ten-thousandth of the monetary units that they represent. For Informatica, the money and ......
Read more >5 Database Design Schema Example: Critical Practices ...
This blog talks about the Database Schemas & their types, Database Design Schema Example followed by the best practices to attain high ...
Read more >Table Schema: Currency pattern - Frictionless Data
The data type chosen for the numeric field SHOULD reflect if the currency has a minor unit. Implementations. None known. 2 Likes. Table ......
Read more >Storing money in a decimal column - what precision and scale?
Store the conversion rates (when applicable) in the transaction table itself, as a float · Store the currency in the account table ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, is there still interest in this feature ? We (for French administration) would use it (basically, tools consuming table schema would infer some behavior according to the unit, when defined). Any way we could help it land in the spec ?
How about something like