redis_con: Redis Connection

Description Usage Arguments Value

View source: R/utils.R

Description

A function that checks to see if the redis connection exists, if not then a new connection is set up on the supplied db input value (Default = 1).

Usage

1
redis_con(db = 1)

Arguments

db

An integer value that defines which DB should be accessed in redis.

Value

Nothing. A redis connection is established which is accessible through the rredis:: set of commands.


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