getenum_tbl: A frequency count table from one or more enumerations

Description Usage Arguments Value Examples

View source: R/verisr2.R

Description

Generate counts from the values given one or more enumerations is immediately preceded by the specified string.

Usage

1
getenum_tbl(data, params)

Arguments

data

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

params

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

Value

a frequency table from enumerating on the specified fields of interests

Examples

1
2
getenum_tbl(vcdb, c("actor"))
getenum_tbl(vcdb, c("action", "asset.variety"))

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