collapse_vcdb: Collapse the VCDB data frame into a more conventional "tidy"...

Description Usage Details Value Examples

View source: R/collapse.R

Description

Shrink the dimension of a VCDB data frame by using a representative value for each enumeration. This function results in some loss of fidelity, a reasonable trade-off for the convenience we get from a "tidy" data frame.

Usage

1

Details

The function handles logical enumerations (TRUE/FALSE) differently from factor enumerations as well as numeric enumerations. The resulting data frame (output) contains new variables not in the original VCDB that stores the "representative" value for each incident across each enumeration group

Value

a collapsed data frame more suited for tidyverse-esque EDA tasks

Examples

1

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