dataCleanser: Cleansing the dataset on a csv-file to change its form to...

Description Usage Arguments See Also

View source: R/UsagiSan.R

Description

Cleansing the dataset on a csv-file to change its form to more arranged one to handle.

Usage

1
2
3
4
5
6
7
dataCleanser(
  dataName,
  append = FALSE,
  numOrFac = 10,
  leastNumOfDate = 10,
  fileEncoding = "CP932"
)

Arguments

dataName

The file-name of a csv file that will be cleansed.

append

Allows you to append the new datas generated from dataCleansingForm__.xlsx.

numOrFac

The criteria for classifying whether the column data is numeric or factor. If the number of levels are greater than the ratio (nrow(data)/numOrFac), then it will be assiged to numeric group.

leastNumOfDate

The criteria for classifying whether the column data is Date of numeric. if the data contains the dateFormat you have chosen and the number of data containing such formats is greater than this value, leastNumOfDate, then the data will be assigned to Date group.

fileEncoding

File-encoding

See Also

Examples of this function can be found at https://multivariate-statistics.com/2020/09/16/r-programming-auto-data-cleansing/


usagi-san-dayo/UsagiSan documentation built on Dec. 29, 2021, 10:17 p.m.