util_process_minsonice {nhlapi}R Documentation

Convert time columns from "mm:ss" to numeric minutes

Description

Convert time columns from "mm:ss" to numeric minutes

Usage

util_process_minsonice(df, patt = "timeOn|TimeOn")

Arguments

df

data.frame, data to examine.

patt

character(1), pattern to match column names that contain time information in "mm:ss" format.

Value

data.frame, with time columns converted from "mm:ss" characters to numeric minutes.


[Package nhlapi version 0.1.4 Index]