Skip to content

matchpointR

0.1.0Package record

Tidy Access to Women's Tennis Association (WTA) Data

0packages depend
1.8Kdownloads / year
71.9%test coverage
13/13flavors OK

Overview

About

Scrapes and tidies publicly available data from the Women's Tennis Association website (https://www.wtatennis.com). Provides helpers to retrieve player biographies, singles and doubles career overviews, match histories, live rankings and aggregate statistics. Dynamic pages are rendered through a headless 'Chrome' session so 'JavaScript'-generated content is fully captured, and all outputs are returned as tidy data frames suitable for downstream analysis or visualisation.

Changes in 0.1.0

First public release.

Features

  • wta_player_url() builds canonical player URLs from a WTA numeric id, an optional slug and a section ("overview" or "matches").
  • wta_get_player_basics() returns a one-row tibble with the player's name, nationality, birth date and place, height, handedness, headshot and nationality flag. Biographical data is read from the page's schema.org JSON-LD block (with a CSS-selector fallback) for resilience against site redesigns.
  • wta_get_player_overview() returns a long tibble of career highlights (singles/doubles rank, career titles, career prize money, career-high singles rank).
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
  • wta_get_player_matches() walks the "Matches" page, clicking *Show more* until the full history is loaded, and returns one row per match with tournament, tournament date, round, opponent, opponent seed and country code, opponent rank, score and win/loss result.
  • wta_get_rankings() scrapes the current singles or doubles ranking table and returns a tidy tibble (rank, player id, player, country, age, tournaments played, points).

Infrastructure

  • Tests (testthat 3rd edition) run entirely against local HTML fixtures — no network, no headless browser required for CI.
  • GitHub Actions workflows for R CMD check (Ubuntu / Windows / macOS × devel / release / oldrel-1) and pkgdown deployment.
  • Vignette "Getting started with matchpointR".

Not yet covered

  • Tour-wide statistics leaderboards (aces, winners, break-points converted, …) are tracked in issue #1 for a future release.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK5 OK2026-04-29
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 330 wordsVignettesYes · 1 · staticNEWSYes · 67% structured · mentions 0.1.0Citation fileNo
Help pages
8 (3 internal)includes a package overview page
Examples that run
100%5 run in a plain check (4 of them under a condition)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

1.8K
CRAN downloads in the past year
Rank #17,761 · ~5/day · ~151/mo
Daily download trend is not available in this view yet.
26330 days
71890 days
1.8K1 year
Compare downloads with other packages →
Also on30 r2u3 autocran

Repository

0Stars
0Forks
1Open issues
0Open PRs
0Releases
tenniswta
Last activity 2026-04-26
Responsiveness
not measured
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/angnar-97/matchpointr on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)
README.Rmdpkgdown
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-04-22
    Commits: at least 5 crediting it in the message
Models named in its commits
  • Claude Opus 4.75 commits · Apr 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing matchpointR adds 38 packages (24 with compiled code, 31 MB of source tarballs). Heaviest: stringi 11 MB, magick 4.4 MB, promises 3.1 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Angnar
Releases (1)
  • 0.1.0Latest
    2026-04-28 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-04-28
Total releases
1 / 1 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.1.0
Download size
173 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("matchpointR")
Navas González, A. (2026). matchpointR: Tidy Access to Women's Tennis Association (WTA) Data (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.matchpointR

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for matchpointR version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy