clean: clean

Description Usage Arguments Value Examples

Description

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

Usage

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

Arguments

da

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

1
2
3
4
5
6
7
{
## Not run: 
data("caetano")
  clean(da  = caetano, column = "chord", long = 15, message = TRUE)

## End(Not run)
}

brunaw/chorrrds documentation built on June 12, 2019, 7:32 a.m.