sort_fields: Move text to the first column and set types to document...

View source: R/utils.R

sort_fieldsR Documentation

Move text to the first column and set types to document variables

Description

Move text to the first column and set types to document variables

Usage

sort_fields(x, path, text_field, impute_types = TRUE)

Arguments

x

data.frame; contains texts and document variables

path

character; file path from which x is created; only use in error message

text_field

numeric or character; indicate position of a text column in x

impute_types

logical; if TRUE, set types of variables automatically


readtext documentation built on May 29, 2024, 5:13 a.m.