Atmosphere: Atmosphere

AtmosphereR Documentation

Atmosphere

Description

Atmosphere Class

Format

An R6Class generator object

Public fields

venue

Venue

home_team

Team

temperature

Temperature integer [optional]

Methods

Public methods


Method new()

Usage
Atmosphere$new(venue, home_team, temperature = 70, ...)

Method toJSON()

Usage
Atmosphere$toJSON()

Method fromJSON()

Usage
Atmosphere$fromJSON(AtmosphereJson)

Method toJSONString()

Usage
Atmosphere$toJSONString()

Method fromJSONString()

Usage
Atmosphere$fromJSONString(AtmosphereJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
Atmosphere$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


singlearity-sports/singlearity-R documentation built on April 21, 2022, 3:48 a.m.