tt_bind_industry: Adding industry label to input data.frame

Description Usage Arguments Value

View source: R/bind_industry.R

Description

Adding industry label to input data.frame

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
tt_bind_industry(
  .df,
  sub = 11,
  index = NULL,
  type = NULL,
  major = NULL,
  minor = NULL,
  industry_type = "all_industry",
  col_more = FALSE,
  verbose = TRUE
)

Arguments

.df

A data frame. Input data.frame MUST contain 'hscode' column!

sub

The digits of 'hscode'. If you set the digit less than 11, alway remember summarise the value of Input data.

index

Filter specified index.

type

Filter specified type.

major

Filter specified major.

minor

Filter specified minor.

industry_type

"all_industry", "industry21", "version1", "version2"

col_more

append type, major, minor and industry columns.

verbose

TRUE or FALSE.

Value

A data frame


chinhungtseng/taitratools documentation built on Jan. 11, 2021, 8:33 p.m.