get_details: Get game data from a certain starting time

Description Usage Arguments Value

View source: R/get_details.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_details(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. In the case of a data.frame, participantID 1 to 5 is blue team, 6 to 10 is red team.


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