Skip to content

feat: add getSeasonSimulations() - #125

Merged
Flosch1006 merged 1 commit into
releasefrom
124-add-getseasonsimulations
Oct 27, 2026
Merged

Flosch1006 merged 1 commit into
releasefrom
124-add-getseasonsimulations

Conversation

@Flosch1006

Copy link
Copy Markdown
Collaborator

Closes #124

Adds getSeasonSimulations(iteration, token, date = NULL, host) for the new /v5/customerapi/iterations/{iterationId}/predictions/season-simulations endpoint.

  • One row per simulation date and squad; rank probabilities expanded into rank1Probability, rank2Probability, ... (NA where a group has fewer ranks)
  • Optional date (YYYY-MM-DD) returns only the latest simulation on or before that date
  • Competition info and squad name/provider IDs merged; columns and order match impectPy.getSeasonSimulations()
  • Returns an empty tibble if no simulations are available
  • Roxygen docs, README example and NEWS entry

Note: this PR targets release, so #124 must be closed manually after the release is merged into main.

🤖 Generated with Claude Code

@Flosch1006 Flosch1006 self-assigned this Oct 27, 2026
@Flosch1006 Flosch1006 added the enhancement New feature or request label Oct 27, 2026
@Flosch1006 Flosch1006 linked an issue Oct 27, 2026 that may be closed by this pull request
@Flosch1006
Flosch1006 merged commit 617031f into release Oct 27, 2026
@Flosch1006
Flosch1006 deleted the 124-add-getseasonsimulations branch October 27, 2026 09:26
@Flosch1006 Flosch1006 mentioned this pull request Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add getSeasonSimulations()

1 participant