-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supplementary unit for a commodity #186
Comments
Hi Andrew, In the dataset, the supplementary units, unit of measurement is held on the measure rather than directly against the commodity code. Supplementary units can be identified by the measure type from the measures table, this should be 109 (although 110 and 111 are technically usable). The measures table will have an identifier for the commodity code (goods nomenclature) that identifier is a SID rather than the description, for example Measure SID = 20203097 The unit of measurement for the supplementary unit will be held as a measure component or measure condition component as a duty expression. A duty expression can be anything from a unit of measurement to compound duties. You should be able to identify the supplementary units via this table Please let me know if this helps or not Many Thanks |
Hi Steve, Thank you for the pointers. I have managed to work this through. Just wondering also, what is are the SID columns used for? Are these static identifiers? Such as 109 to identify the measurement type for a supplementary unit. Cheers, |
Hi Andrew - sorry for the delayed response, the SID columns are unique identifiers for specific items. when used in a measure it helps us to identify the measure and the links to it's various component entities. Commodity codes also had SIDs which we use to identify the correct Commodity code where the commodity code has both a suffix 10 and suffix 80 version |
Hi @SteveCN7 I have a couple of questions regarding fetching supplementary units and would be glad if you could answer them.
|
Hi @adis-io The Tariff data updates nearly daily depending on various changes to the tariff as changes to legislation, poilcy, administration etc are recorded in the database. To answer the questions, I've made the assumption that you are using the dataset titled Measures as Defined.
Please let me know if I can help further |
Hey @SteveCN7, thank you very much for your prompt response. I was trying to use the "Measures on declarable commodities" table, but you've already given me an answer for the missing data, indicating it might be related to pre-Brexit inheritance. For now, I'm considering generating a CSV using the tariff API to cover missing data and then periodically updating it by fetching data from the "Measures on declarable commodities" table. Does this sound like a correct approach? |
Hi @adis-io Pre-Brexit inheritance seems to be the issue, but I'll confirm with our data engineers that is definitely the case. That sounds like a sensible approach for now. We're about to engage in an overhaul of our open data provisioning and one thing we're considering is making a "whole" file available and then offering an API end point to provide updates. We're going to start doing some discovery soon to test viability for this and other potential improvements. Many Thanks |
Thank you so much @SteveCN7 |
How can I find the supplementary unit (e.g. NAR, KGM) associated with a commodity in the uk-tariff-2021-01-01 dataset?
I have looked through all the available tables and relationships relating to measures but struggling to see how this can be done.
Thanks
Andrew
The text was updated successfully, but these errors were encountered: