Difference between revisions of "Central product classification"
From Testiwiki
(code and ovariables updated) |
(→Answer) |
||
Line 11: | Line 11: | ||
{{attack|#|Something wrong with the first-level codes (there is a leading zero although should not be). This was corrected, but is there more problems with the data?|--[[User:Jouni|Jouni]] ([[User talk:Jouni|talk]]) 23:05, 27 December 2013 (EET)}} | {{attack|#|Something wrong with the first-level codes (there is a leading zero although should not be). This was corrected, but is there more problems with the data?|--[[User:Jouni|Jouni]] ([[User talk:Jouni|talk]]) 23:05, 27 December 2013 (EET)}} | ||
− | <rcode name="answer" embed=1> | + | <rcode name="answer" label="Show classification levels 1-2" embed=1> |
library(OpasnetUtils) | library(OpasnetUtils) | ||
Line 21: | Line 21: | ||
oprint(head(CPC@output)) | oprint(head(CPC@output)) | ||
+ | |||
+ | </rcode> | ||
+ | |||
+ | |||
+ | <rcode name="subclasses" label="Show lower classification levels" embed=1 variables=" | ||
+ | name:class|description:Which class do you want to see in detail?|type:text|default:011 | ||
+ | "> | ||
+ | library(OpasnetUtils) | ||
+ | |||
+ | objects.latest("Op_en5914", code_name = "initiate") | ||
+ | |||
+ | CPC <- EvalOutput(CPC) | ||
+ | |||
+ | oprint(CPC@output[regexpr(class, CPC@output$CPC.code) == 1 , ]) | ||
</rcode> | </rcode> |
Revision as of 09:37, 28 December 2013
This page is a variable.
The page identifier is Op_en5914 |
---|
Moderator:Jouni (see all) |
Give your opinion to the peer rating of the content of this page. |
Upload data
|
Contents
Question
What is a good classification system for products?
Answer
⇤#: Something wrong with the first-level codes (there is a leading zero although should not be). This was corrected, but is there more problems with the data? --Jouni (talk) 23:05, 27 December 2013 (EET)
Rationale
UN CPC version 2 seems to be an optimal choice. [1] [2]
Dependencies
Calculations
See also
Keywords
References
Related files
<mfanonymousfilelist></mfanonymousfilelist>