Learn R Programming

horsey: Access to the Lichess API

horsey is an R package for analyzing and exporting data from the Lichess API.

Key Features

  • Export Lichess game data into R objects
  • Optional inclusion of opening metadata (name and ECO) when available.
  • Functions for summarizing openings across a set of games.

Installation

# install.packages("remotes")
remotes::install_github("kylehamilton/horsey")

Copy Link

Version

Install

install.packages('horsey')

Version

1.0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

William Kyle Hamilton

Last Published

January 22nd, 2026

Functions in horsey (1.0.1)

opening_summary

Summarize openings from exported games
user

Get a user's public profile
winrate

Compute win rate from exported games
user_activity

Get a user's activity feed
client

Create a Lichess API client for analysis/export workflows
result_summary

Summarize results (W/L/D) for a player
export_games

Export games for a player
rating_history

Get a user's rating history
horsey-package

horsey: Access to the 'Lichess' API