sc_select: Select scorecard data variables.

Description Usage Arguments Functions Examples

View source: R/select.R

Description

This function is used to select the variables returned in the final dataset.

Usage

1
2
3
sc_select(sccall, ...)

sc_select_(sccall, vars)

Arguments

sccall

Current list of parameters carried forward from prior functions in the chain (ignore)

...

Desired variable names separated by commas (not case sensitive)

vars

Character string of variable name or vector of character string variable names

Functions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
sc_select(UNITID)
sc_select(UNITID, INSTNM)
sc_select(unitid, instnm)

## End(Not run)
## Not run: 
sc_select_('UNITID')
sc_select_(c('UNITID', 'INSTNM'))
sc_select_(c('unitid', 'instnm'))

## stored in object
vars_to_pull <- c('unitid','instnm')
sc_select(vars_to_pull)

## End(Not run)

rscorecard documentation built on Nov. 5, 2018, 5:06 p.m.