cleandats: DAT file wrangler.

clean_odddat_optimusR Documentation

DAT file wrangler.

Description

The function takes the dirty data frame obtained from reading the FLUOstar DAT file, applies an original algorithm that inserts NAs in place of the special characters, and then applies a function called comma_cleaner() to the dirty data frame for the removal of commas, and finally, rows with NAs only are removed.

Usage

clean_odddat_optimus(df)

clean_even_dat(df)

Arguments

df

df

Value

A clean data frame with clean NA values retained.

df

Author(s)

Tingwei Adeck

Examples

## Not run: 
fpath <- system.file("extdata", "dat_1.dat", package = "normfluodbf", mustWork = TRUE)
dat_df <- read.table(file=fpath)
partial_cleaned_dat <- clean_odddat_optimus(dat_df)
## End(Not run)
## Not run: clean_even_dat(df)

normfluodbf documentation built on Sept. 28, 2024, 1:06 a.m.