getenum_stri: Find all variables in a VCDB data frame from a specified...

Description Usage Arguments Value Examples

View source: R/verisr2.R

Description

Find all fields from the data frame where its field name is immediately preceded by the specified string.

Usage

1
getenum_stri(data, string)

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 all variables in the VCDB dataframe that has the speficied enumeration

Examples

1
2
getenum_stri(vcdb, "action.error.vector")
getenum_stri (vcdb, "actor")

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