flatt: Split, Map, and Flatten

Description Usage Arguments Value

View source: R/parse_information.R

Description

A function that is used in multiple locations to help split the redis key format at a particular value around the ':'.

Usage

1
flatt(keyVector, y)

Arguments

keyVector

A character vector of redis keys of the form a:b:c.

y

An integer value to define where to split and flatten the keys, i.e. if y = 2 split on a: _ : b

Value

A character vector of the values on the split.


ntyndall/footballstats documentation built on Aug. 13, 2019, 1:36 p.m.