DDdtToVNC: Returns the corresponding object of class VNC according to...

Description Usage Arguments Value Examples

View source: R/DDdtToVNC.R

Description

DDdtToVNC returns the corresponding object of class VNC according to the input data.table.

Usage

1
DDdtToVNC(DDdt, NameVNC, InFiles = rep("", dim(DDdt)[1]))

Arguments

DDdt

Object of class data.table.

NameVNC

character vector with the name of the element in VNC which is being build.

InFiles

character vector with as many components as the rows of DDdt specifying the files where to include each variable.

Value

Returns the corresponding object of class VarNameCorresp.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
library(data.table)
AggWeights <- data.table(Variable = c('ID', 'Pond1'), Sort = c('IDQual', 'IDDD'),
                         Class = c('character', 'character'),
                         Length = c('11', '7'),
                         Qual1 = c('', 'ID'), ValueRegExp = c('', ''))
DDdtToVNC(AggWeights, 'AggWeights', rep('FA', 2))

## End(Not run)

david-salgado/StQ documentation built on Aug. 12, 2021, 3:23 p.m.