data_man: Data Management Tool (interactive-ish)

Description Usage Arguments Author(s)

View source: R/data_man.r

Description

This creates a list of data management information (defaults to a 'data_man' object called 'data_man_container' in the global workspace). This information can then be used to extract and recode (factors and dates) for (or towards) an analytical data base.

Usage

1
2
3
data_man(name, var = name, where = NA, recode = NULL, date = NULL,
  rg = NULL, comment = NULL, container = "data_man_container",
  label = NULL, check = TRUE)

Arguments

name

(new) name of variable

var

database entry

where

database (or data frame)

recode

refactor L argument for recoding

date

function for transformation into date format

rg

rgroup label

comment

variable comment

container

name of container of information in .GlobalEnv. Defaults to "data_man_container"

label

if TRUE then the data base entry will be stored as a label for the new variable. Another label can be specified with a character string.

check

if TRUE this checks the variable

Author(s)

Henrik Renlund


renlund/dataman documentation built on March 19, 2018, 10:09 a.m.