ksic_sub | R Documentation |
Extracts the child classification codes corresponding to the input KSIC codes. It can handle a vector containing codes with different numbers of digits.
ksic_sub(ksic, digit = 5, C = NULL, name = FALSE)
ksic |
character. A vector of KSIC codes to find child codes for. |
digit |
integer. The digit of the child classification to extract (1-5). Default is 5. |
C |
integer.
The KSIC revision (9, 10, or 11). If NULL, |
name |
logical.
If |
A list containing vectors of child codes or names for each input code. Returns a list element with NA
if no child codes are found.
ksic_sub(c("26", "96", "52636"), digit = 4)
ksic_sub("58", digit = 5, name = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.