Skip to contents

Get numeric colum names

Usage

numeric_cols(.tbl, survey = NULL)

Arguments

.tbl

A tibble

survey

Default to NULL. The survey sheet from Kobo.

Value

A characater vector of numeric columns names

Details

If the survey sheet is provided, it returns numeric columns from .tbl that are coded as decimal or numeric in the type column of survey. Otherwise, it returns all numeric columns from .tbl.