This function allows you to identify activity branches

branch_ciiu(
  data = ech::toy_ech_2018,
  f72_2 = "f72_2",
  group = TRUE,
  disaggregated = FALSE
)

Arguments

data

data.frame

f72_2

Variable name of ciiu code rev.4

group

logical to define 12 or 18 categories, if FALSE code 18. Default: TRUE

disaggregated

logical to define disaggregated branches or not. Default: FALSE

Value

data.frame

Details

Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.

See also

Examples

# \donttest{
toy_ech_2018 <- branch_ciiu(data = ech::toy_ech_2018)
#> A variable has been created: 
#>  	 branch_ciiu (Rama de actividad CIIU)
#>             branch_group_ciiu (Rama de actividad CIIU agrupadas)
# }