add_is_enter_top: add is_enter_top_one_percent information for ESI discipline...

View source: R/add_is_enter_top.R

add_is_enter_topR Documentation

add is_enter_top_one_percent information for ESI discipline of university

Description

add is_enter_top_one_percent information for ESI discipline of university

Usage

add_is_enter_top(df, univ, discipline, source = NULL, .keep = FALSE)

Arguments

df

data.frame

univ

a column containing the university name

discipline

a column containing the character vector of 22 ESI disciplines

source

a data.frame imported by read_top_one_percent()

.keep

Logical. The default value is FALSE, only is_enter_top_one_percent will be added. When .keep = TRUE, more information will be added.

Value

data.frame that adds is_enter_top_one_percent information for the specified discipline of university.

Examples

df %>% add_is_enter_top(univ, discipline, source = top)

perlatex/tidyESI documentation built on Nov. 25, 2022, 11:14 p.m.