get_window: Get game data from a certain starting time

Description Usage Arguments Value

View source: R/get_window.R

Description

The function returns player data in a specified timeframe. It is possible to set a certain starting point for the timeframe, but final length is not able to be predetermined.

Usage

1
get_window(gameId, hl = "en-US", startingTime = NULL, save_details = FALSE)

Arguments

gameId

string. The ID of the game for which data should be searched.

hl

string. Locale or language code using ISO 639-1 and ISO 3166-1 alpha-2.

startingTime

a string in the form 'Y-m-d H:M:S'. Needs to be compatible with 'lubridate::ymd_hms()'.

save_details

logical. Should details be saved?

Value

A list of game metadata and a data.frame of game data, or raw query result.


flsck/rlolesports documentation built on April 4, 2021, 6:59 p.m.