ateam_info: ateam_info

Description Usage Arguments Details Value

View source: R/add_info.R

Description

A function that takes a KEYS$COMP and integer value with details of the teamID list for analysis. Each team is queried by the API for relevant information and statistics are stored.

Usage

1
ateam_info(KEYS, teamListLength)

Arguments

KEYS

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

teamListLength

An integer value that defines how long the list containing teamID's is TeamID's are then popped from the list as they are anaylsed.

Details

API endpoints;

Redis Keys used;

Value

Returns nothing. A Redis hash map is set with the team information.


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