Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sort_fields

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

Import and Handling for Plain and Formatted Text Files

v0.80
GPL-3
Authors
Kenneth Benoit [aut, cre, cph], Adam Obeng [aut], Kohei Watanabe [ctb], Akitaka Matsuo [ctb], Paul Nulty [ctb], Stefan Müller [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.