util_attributes_to_cols {nhlapi} | R Documentation |
Add attributes as data frame columns
Description
Take attributes with names specified by atrs
from object lst
and adds their value into columns with the same
name in df
.
Usage
util_attributes_to_cols(lst, df, atrs = c("url", "copyright"))
Arguments
lst |
|
df |
|
atrs |
|
Value
data.frame
, df
with added columns.
[Package nhlapi version 0.1.4 Index]