iaValidate: Merges Variables Into a Date Variable

Description Usage Arguments Examples

View source: R/iaValidate.R

Description

This function lets you go through data, labelling it as either 1 or 0. Useful for validating data. Enter numbers corresponding to entries displayed, unseparated.

Usage

1
iaValidate(df, col, samplesize = 5, reset = FALSE, idcol = "id")

Arguments

df

Dataset to work with

col

Column containing data to be displayed

samplesize

How many entries to display at once

reset

Reset the process / all "seen" <- 0

idcol

Values from idcol are displayed next to values from col.

Examples

1
2
3
mtcars$names <- rownames(mtcars)
mtcars$brand <- lapply(strsplit(mtcars$names,' '),function(x)x[1]) %>% unlist()
valMt <- iaValidate(mtcars,col = 'names',samplesize = 5,idcol = 'brand') 

Peder2911/ChildGotReeds documentation built on May 6, 2019, 1:34 a.m.