determine_primaryl: Determine the primary value from each enumeration group...

Description Usage Arguments Value Examples

View source: R/collapse.R

Description

For each row, find a value that represent the enumeration. If all values in the group is NA, replace with "Unknown" variable

Usage

1

Arguments

data

A data frame object, typically converted from the VCDB JSON format.

string

Character or vector of characters representing one or more fields of interest (enumeration).

Value

a character vector of the values that represent that enumeration for each logical observation

Examples

1
determine_primaryl(vcdb, "action.error.variety")

onlyphantom/verisr2 documentation built on May 20, 2019, 12:19 p.m.