Learn R Programming

chorrrds (version 0.1.9.5)

clean: clean

Description

Clean data when there is some excessive long text on a column.

Usage

clean(data, column = "chord", long = 15, message = TRUE)

Arguments

data

a data.frame.

column

string. The column by which we want to make the cleaning.

long

numeric. The longest string we wish exists on our

message

logical. Should the function print how many lines were removed?

Value

A database, with the text cleaning done.

Examples

Run this code
# NOT RUN {
{
# }
# NOT RUN {
data("caetano")
  clean(data  = caetano, column = "chord", long = 15, message = TRUE)
# }
# NOT RUN {
}
# }

Run the code above in your browser using DataLab