get_raw_lichess: Get Raw Lichess Game Data

View source: R/get_raw_lichess.R

get_raw_lichessR Documentation

Get Raw Lichess Game Data

Description

This function returns the raw json data for a player's or list of players' Lichess data as a data frame

Usage

get_raw_lichess(player_names, since = NULL, until = NULL)

Arguments

player_names

A vector of a valid username or usernames from Lichess

since

Games played since this date. An object of class 'Date' or a string of the form '"yyyy-mm-dd"'. If 'NULL', defaults to account creation date.

until

Games played until this date. An object of class 'Date' or a string of the form '"yyyy-mm-dd"'. If 'NULL', defaults to now.

Value

a dataframe of lichess data

Examples

## Not run: 
georges_data <- get_raw_lichess(player_names = "Georges")
the_knife_data <- get_raw_lichess("the_knife", since = "2023-08-13", until = "2023-08-14")

## End(Not run)

JaseZiv/chessR documentation built on Oct. 13, 2024, 2:28 p.m.