clean: clean

Description Usage Arguments Value Examples

View source: R/clean.R

Description

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

Usage

1
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

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

## End(Not run)
}

r-music/chorrrds documentation built on Sept. 26, 2020, 3:48 p.m.