ksic_group | R Documentation |
Extracts the parent classification codes corresponding to the input KSIC codes. It can handle a vector containing codes with different numbers of digits.
ksic_group(ksic, digit = 1, C = NULL, name = FALSE)
ksic |
character. A vector of KSIC codes to find parent codes for. |
digit |
integer. The digit of the parent classification to extract (1-5). Default is 1. |
C |
integer.
The KSIC revision (9, 10, or 11). If NULL, |
name |
logical.
If |
A character vector of the same length as the input vector, containing parent codes or names. Returns NA
if a parent code does not exist.
ksic_group(c("31311", "4631", "25", "A"), digit = 2, name = TRUE)
ksic_group("26222", digit = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.