aplayer_info: aplayer_info

Description Usage Arguments Details Value

View source: R/add_info.R

Description

A function that takes a KEYS$COMP and length of players to analyse. The playerID's are popped from a Redis list and queried. The player stats are then stored in appropriate redis keys as necessary.

Usage

1
aplayer_info(KEYS, playerLength)

Arguments

KEYS

A list containing options such as testing / prediction / important variables and information. Also contains API information.

playerLength

An integer value that defines the number of players to analyse for a given list of ID's previously generated.

Details

API endpoints;

Redis Keys used;

Value

Returns nothing. Redis is updated with player information


niallbenj/footballstats documentation built on Aug. 13, 2019, 5:12 p.m.