football-docs 0.17.6 → 0.17.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -303,12 +303,12 @@ metrics:sources` re-checks every card quote against its live source.
303
303
  | databallpy | 63 | data-model, overview, usage |
304
304
  | mplsoccer | 65 | overview, pitch-types, visualizations |
305
305
  | Impect | 79 | overview, data-model, event-types, coordinate-system, concepts, kpi-definitions, identity-surfaces, data-provenance |
306
- | SkillCorner | 51 | api-access, api-endpoints, data-model, physical-data, coordinate-system, concepts, identity-surfaces, data-provenance |
307
- | Free sources | 69 | overview, fbref, understat, football-data-columns, contextual-story-joins, xg-timelines, data-provenance |
306
+ | SkillCorner | 52 | api-access, api-endpoints, data-model, physical-data, coordinate-system, concepts, identity-surfaces, data-provenance |
307
+ | Free sources | 70 | overview, fbref, understat, football-data-columns, contextual-story-joins, xg-timelines, data-provenance |
308
308
  | soccerdata | 40 | overview, data-sources, usage |
309
309
  | TransferRoom | 45 | api-access, api-endpoints, charting-availability, data-model, identity-surfaces, data-provenance |
310
310
  | Opta | 73 | event-types, qualifiers, coordinate-system, api-access, charting-game-state, charting-lineups, charting-passmaps, charting-set-pieces, charting-shot-placement, identity-surfaces, data-provenance |
311
- | FMDB Pro | 37 | api-access, api-endpoints, data-model, identity-surfaces, data-provenance |
311
+ | FMDB Pro | 39 | api-access, api-endpoints, data-model, identity-surfaces, data-provenance |
312
312
  | Sportradar | 481 | integration guide (API basics, coverage tiers, ID handling, match status, update frequencies, push, historical data), Soccer Extended v4 endpoint reference with data-point tables, FAQ, plus curated api-access, api-endpoints, data-model, charting-and-stories, integration-notes, data-provenance |
313
313
  | socceraction | 34 | SPADL format, VAEP, Expected Threat |
314
314
  | BeSoccer | 16 | api-access, api-endpoints, data-provenance |
@@ -320,13 +320,13 @@ metrics:sources` re-checks every card quote against its live source.
320
320
  | FotMob | 5 | identity-surfaces, data-provenance |
321
321
  | Soccerdonna | 5 | identity-surfaces, data-provenance |
322
322
  | Transfermarkt | 10 | identity-surfaces, data-provenance, transfermarkt-datasets |
323
- | STATSports | 70 | api-access, api-endpoints, data-model, drill-kpi-metrics (all 319 DrillKpiV7 fields), identity-surfaces, data-provenance |
323
+ | STATSports | 71 | api-access, api-endpoints, data-model, drill-kpi-metrics (all 319 DrillKpiV7 fields), identity-surfaces, data-provenance |
324
324
  | Firstbeat | 79 | api-access, api-endpoints, data-model, variables (100 scalars, 17 time series), identity-surfaces, data-provenance |
325
325
  | Hawkin Dynamics | 69 | api-access, api-endpoints, data-model, test-metrics (535 metrics across 13 test types), identity-surfaces, data-provenance |
326
326
  | VALD | 318 | api-access, api-endpoints, per-product endpoints and schemas (tenants, profiles, forcedecks, nordbord, forceframe, smartspeed, dynamo, humantrak), identity-surfaces, data-provenance |
327
327
  | Metric cards | 101 | xg, npxg, xg_assisted, xa, ppda, progressive_passes, progressive_carries, xt, vaep, field_tilt, pass_completion; see [Metric cards](#metric-cards) |
328
328
 
329
- **3,546 searchable chunks** across 32 providers and tools (the metric cards count as one).
329
+ **3,551 searchable chunks** across 32 providers and tools (the metric cards count as one).
330
330
 
331
331
  STATSports, Firstbeat, Hawkin Dynamics and VALD sell wearables and testing devices.
332
332
  Their APIs return a customer's own athlete data, which includes personal and health
@@ -377,7 +377,7 @@ Refresh manually with `python3 scripts/observe_espn.py --scheduled-date YYYYMMDD
377
377
  choosing a future fixture date and using permitted access. The script stores no
378
378
  raw responses. Review the diff, update the docs and dates, then rebuild the index.
379
379
 
380
- Reep's snapshots age weekly, as a new release is cut each week. Run
380
+ Reep's snapshots age with each download release, which is cut weekly or less often. Run
381
381
  `python3 scripts/check_reep_live.py` to check every download link and list what
382
382
  has changed since the snapshots; the refresh steps are in [specs/README.md](specs/README.md#reep).
383
383
 
package/data/docs.db CHANGED
Binary file
package/dist/index.js CHANGED
@@ -178,7 +178,8 @@ export function createFootballDocsServer() {
178
178
  "Look up by provider + id (pass namespace too, e.g. transfermarkt 'spieler', opta 'person'), by reep_id, or by name.",
179
179
  "Sources, in order: a local copy of the free register (REEP_DUCKDB_PATH), then the Reep API (REEP_API_KEY; keys are",
180
180
  "issued by hand on request, never self-service). With neither set, it returns setup steps and a DuckDB query.",
181
- "Keeping the local file current: Reep releases weekly. Every local answer ends with the file's release stamp checked",
181
+ "Keeping the local file current: Reep publishes a download release weekly or less often; new matching reaches the",
182
+ "Reep API daily. Every local answer ends with the file's release stamp checked",
182
183
  "against https://data.reep.football/releases/latest.json. If it says the file is out of date, tell the user and offer",
183
184
  "to run the curl command it gives, which downloads https://reep.football/downloads/duckdb over the same path; the",
184
185
  "next call uses the new file without a restart. Before bulk matching, make sure the file is current.",
package/dist/reep.d.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  export declare const REEP_CONTACT = "getintouch+nutmeg@withqwerty.com";
16
16
  export declare const REEP_DOWNLOAD_URL = "https://reep.football/downloads/duckdb";
17
17
  export declare const REEP_LATEST_URL = "https://data.reep.football/releases/latest.json";
18
- export declare const ENTITY_TYPES: readonly ["player", "coach", "referee", "team", "competition", "season", "stage", "venue", "match"];
18
+ export declare const ENTITY_TYPES: readonly ["player", "coach", "referee", "team", "competition", "season", "stage", "venue", "match", "transfer", "award"];
19
19
  export type EntityType = (typeof ENTITY_TYPES)[number];
20
20
  export type ResolveEntityArgs = {
21
21
  name?: string;
package/dist/reep.js CHANGED
@@ -21,7 +21,19 @@ const DEFAULT_API_URL = "https://reep.football/api/v1";
21
21
  const USER_AGENT = "football-docs (+https://github.com/withqwerty/football-docs)";
22
22
  const MAX_RESULTS = 10;
23
23
  const FRESHNESS_TTL_MS = 60 * 60 * 1000;
24
- export const ENTITY_TYPES = ["player", "coach", "referee", "team", "competition", "season", "stage", "venue", "match"];
24
+ export const ENTITY_TYPES = [
25
+ "player",
26
+ "coach",
27
+ "referee",
28
+ "team",
29
+ "competition",
30
+ "season",
31
+ "stage",
32
+ "venue",
33
+ "match",
34
+ "transfer",
35
+ "award",
36
+ ];
25
37
  const textResult = (text, isError = false) => ({
26
38
  isError: isError || undefined,
27
39
  content: [{ type: "text", text }],
@@ -321,7 +333,7 @@ async function freshnessNote(path, local, fetchImpl) {
321
333
  catch (error) {
322
334
  return (`Local register release: ${local ?? "unknown"}. Could not check for a newer release ` +
323
335
  `(${error instanceof Error ? error.message : String(error)}). The current stamp is at ${REEP_LATEST_URL}; ` +
324
- `releases are weekly. If it differs from the local release:\n${update}`);
336
+ `download releases are weekly or less often. If it differs from the local release:\n${update}`);
325
337
  }
326
338
  if (local === current)
327
339
  return `Local register release: ${local} (current).`;
@@ -475,7 +487,8 @@ function setupGuidance(q, note) {
475
487
  "",
476
488
  `1. Free, no key: download the whole register (${REEP_DOWNLOAD_URL}, one DuckDB file of several hundred MB)`,
477
489
  " and set REEP_DUCKDB_PATH to its path in this server's MCP configuration. Lookups then run locally.",
478
- " Reep releases weekly; this tool reports when the local file is out of date and how to refresh it.",
490
+ " Reep publishes a download release weekly or less often; this tool reports when the local file is out of date",
491
+ " and how to refresh it. The daily matching updates go to the Reep API only.",
479
492
  `2. The Reep API: set REEP_API_KEY. Keys are issued by hand on request, with no self-service sign-up;`,
480
493
  ` email ${REEP_CONTACT} with your organisation and what you are matching.`,
481
494
  "",
@@ -35,7 +35,7 @@ The `Players` response is the richest entity surface. Important first-level fiel
35
35
  | Ability and roles | `currentAbility`, `recommendedCurrentAbility`, `potentialAbility`, `expectedPotentialAbility`, `position`, `positions`, `bestPosition`, `bestPositions`, `bestRole`. |
36
36
  | Attributes | `mentalTraits`, `mentalAttributes`, `physicalAttributes`, `technicalAttributes`, `goalkeeperAttributes`, plus percentile groups for each. |
37
37
  | Value and availability | `estimatedPlayerValues`, `availabilityIntelligence`, `injuries`, `unavailabilities`, `history`, `moves`, `retirements`. |
38
- | Regulatory/scouting | `gbe`, `tags`, `homegrownStatus`, `clubCompetitionExperience`, `reputation`. |
38
+ | Regulatory/scouting | `gbe`, `esc`, `tags`, `homegrownStatus`, `clubCompetitionExperience`, `reputation`. |
39
39
 
40
40
  Use `includeFields` aggressively when fetching players, because a full player object can be wide and deeply nested.
41
41
 
@@ -122,6 +122,25 @@ Player and person surfaces can include a `gbe` object. The player full spec expo
122
122
 
123
123
  These fields are useful for UK Governing Body Endorsement checks and scouting workflows. Treat them as derived policy/scouting fields rather than raw match-event data.
124
124
 
125
+ ## ESC fields
126
+
127
+ The spec fetched on 2026-11-16 adds a nullable `esc` object to the `Players` response. The spec describes it as "The player's Elite Significant Contribution (ESC) assessment. ESC only applies to Youth Players (23 or under). A Youth Player qualifies when, within the ESC Player Reference Period (previous 24 months), they satisfied one or more of eight criteria based on youth and senior international matches, continental competition matches and domestic competition matches."
128
+
129
+ All fields are nullable:
130
+
131
+ - `esc.status` (string; the spec lists no values)
132
+ - `esc.eligible`, `esc.youthPlayer`, `esc.nationTop50`, `esc.hasMatchData` (boolean)
133
+ - `esc.youthCutOffDate` (string)
134
+ - `esc.fifaRanking` (number)
135
+ - `esc.reason`, `esc.exemptionReason`, `esc.exemptNation`
136
+ - `esc.criteria`, an array described as "The eight ESC criteria, with the matches the player played and whether each criterion is met". Each item holds `number`, `requiredMatches`, `matches`, `periodMonths` (numbers), `key`, `label` (strings) and `applies`, `met` (booleans).
137
+
138
+ The same spec adds `tags.escEligible` (boolean) next to `tags.gbeEligible`. `/api/players` accepts `esc.status` and `tags.escEligible` as query filters, `esc` in `includeFields` and `excludeFields`, `esc.status` and `tags.escEligible` in `sortBy`, and the `esc.*` keys above as filter-condition keys in the request body.
139
+
140
+ ## Player moves: loan flags
141
+
142
+ The spec fetched on 2026-11-16 adds two nullable booleans to each item of the player `moves` array: `isLoan` and `isLoanReturn`. Both are also filter-condition keys (`moves.isLoan`, `moves.isLoanReturn`). The spec gives them no description.
143
+
125
144
  ## Update timestamps
126
145
 
127
146
  Most response objects include an `updated` field. The OpenAPI spec documents field-level filters for `updated`, so local mirrors can query changed entities by date/time comparison. There is no separate update-feed endpoint in the current spec; use endpoint-level `updated` filters plus continuation pagination for synchronisation.
@@ -33,7 +33,11 @@ elo_diff = home_elo - away_elo
33
33
 
34
34
  The ClubElo CSV API moved behind authentication in September 2026, so a
35
35
  lookup by date now needs API access, or ratings taken from the club pages (about
36
- four years of history). See the ClubElo section of `overview.md`.
36
+ four years of history). Since 16 November 2026 the club pages sit behind a
37
+ Cloudflare challenge that a person must complete in a browser, so no unattended
38
+ pipeline can read them, and the ClubElo docs are frozen. For a pipeline, compute
39
+ your own Elo ratings from results instead. See the ClubElo section of
40
+ `overview.md`.
37
41
 
38
42
  ClubElo names are not guaranteed to match provider team labels. Keep the alias
39
43
  map in project code, and treat promoted, renamed, and abbreviated clubs as normal
@@ -50,6 +50,9 @@ or name its source of results.
50
50
 
51
51
  Source: [ClubElo](https://clubelo.com/). Checked 2026-09-24.
52
52
 
53
+ The ClubElo section of the free-sources overview is frozen as of 2026-11-16: the
54
+ site has no unattended access route.
55
+
53
56
  ## football-data.co.uk data sources
54
57
 
55
58
  **Category:** aggregated.
@@ -2,7 +2,7 @@
2
2
  source_type: curated
3
3
  source_url: https://www.football-data.co.uk/notes.txt
4
4
  upstream_version: null
5
- crawled_at: 2026-10-04
5
+ crawled_at: 2026-11-16
6
6
  ---
7
7
 
8
8
  # football-data.co.uk CSV columns
@@ -51,6 +51,8 @@ points to https://www.football-data.co.uk/matches.php.
51
51
  |---|---|
52
52
  | `Attendance` | Crowd Attendance |
53
53
  | `Referee` | Match Referee |
54
+ | `HxG` | Home Team expected goals |
55
+ | `AxG` | Away Team expected goals |
54
56
  | `HS` | Home Team Shots |
55
57
  | `AS` | Away Team Shots |
56
58
  | `HST` | Home Team Shots on Target |
@@ -83,6 +85,17 @@ Two notes from notes.txt on these columns:
83
85
  second yellow turns into a red; in European games that card is counted as a
84
86
  yellow (plus red).
85
87
 
88
+ ## football-data.co.uk expected goals columns (HxG, AxG)
89
+
90
+ notes.txt added `HxG` ("Home Team expected goals") and `AxG` ("Away Team
91
+ expected goals") between 2026-10-04 and 2026-11-16. It does not say whose xG
92
+ model produces them, or which leagues and seasons carry them. On 2026-11-16 none
93
+ of these files had either column in its header row: the 2025/26 `E0`, `E1`,
94
+ `D1`, `SP1`, `I1`, `F1` and `SC0` files, the 2024/25 `E0`, `D1` and `SC0` files,
95
+ and the `new/BRA.csv` and `new/USA.csv` files. Check the header row before you
96
+ use them, and do not mix them with xG from another model (see
97
+ [xG timelines](xg-timelines.md)).
98
+
86
99
  ## Betting odds
87
100
 
88
101
  ### Pre-closing and closing odds
@@ -7,7 +7,7 @@
7
7
  | StatsBomb Open Data | Event-level (full) | GitHub download / API | Select matches (World Cups, specific leagues/seasons) | None |
8
8
  | FBref | Results, basic stats (no advanced metrics since Jan 2026) | Web scrape / soccerdata | 100+ competitions | Strict (3s between requests) |
9
9
  | Understat | xG, shot-level | Web scrape / soccerdata | Top 5 European leagues | Moderate |
10
- | ClubElo | Elo ratings | Web pages (API now behind auth) | All top European leagues, public pages from ~2022 | Unknown |
10
+ | ClubElo (frozen) | Elo ratings | None automated: web pages behind a Cloudflare challenge a person must complete, API behind auth | All top European leagues, public pages from ~2022 | Unknown |
11
11
  | football-data.co.uk | Match results + odds | CSV download | 25+ leagues, 20+ seasons | None |
12
12
  | engsoccerdata | Historical league results | R package / GitHub data | England 1888+, Spain 1928+, other leagues | None |
13
13
  | Transfermarkt | Market values, transfers, injuries | Web scrape | All professional leagues | Strict |
@@ -81,47 +81,21 @@ many leagues. Advanced metrics covered 2017/18 to January 2026 only.
81
81
 
82
82
  ## ClubElo
83
83
 
84
- **What it provides**: Elo ratings for European football clubs, updated after each match. The Elo model adjusts for home advantage, goal difference, and competition level.
84
+ **Status: frozen on 16 November 2026.** This section is no longer kept up to date,
85
+ and no script checks ClubElo any more. It records why ClubElo is not a usable
86
+ source for an automated pipeline.
85
87
 
86
- > **The public CSV API is gone (checked 23 September 2026).** `api.clubelo.com`,
87
- > which served `http://api.clubelo.com/{club_name}` and
88
- > `http://api.clubelo.com/{YYYY-MM-DD}` as CSV, now returns 502. The API has moved
89
- > behind authentication, and registration is not open yet. Anything that uses the
90
- > old endpoints, including the `soccerdata` ClubElo reader, no longer works.
91
- >
92
- > On 29 September 2026 the site showed a Login link (`/login/`). The login page,
93
- > the club pages and the country pages all returned 503/504 hosting errors that
94
- > day. Registration for the authenticated API was still closed on that date.
95
- > The ranking page still answered.
88
+ **What it provides**: Elo ratings for European football clubs, updated after each match. The Elo model adjusts for home advantage, goal difference, and competition level. Ratings run from 1946 to the present.
96
89
 
97
- **Access**: The website only. The pages are rendered on the server, with the data in the HTML. Each chart is a Vega-Lite spec assigned to a `vegaJson` variable in the page, with its rows under `datasets`. The spec can hold more than one dataset, and some are empty (on 29 September 2026 the ranking page's first dataset had no rows), so take the dataset that has rows rather than the first one.
90
+ **Why there is no automated access** (dated checks):
98
91
 
99
- | Page | Chart dataset fields | Range |
100
- |---|---|---|
101
- | `https://clubelo.com/` | `Name`, `Elo`, `Golo`, `Level`, `Federation`, `FedURL`, `TLC`, plus chart styling fields (top 50 clubs) | Current |
102
- | `https://clubelo.com/{club}` (e.g. `/Bayern`, `/Liverpool`) | `Date`, `Elo`, `Golo`, `segment_id` (one row per match) | About four years (from late 2022) |
92
+ - **23 September 2026.** The public CSV API at `api.clubelo.com` (`http://api.clubelo.com/{club_name}`, `http://api.clubelo.com/{YYYY-MM-DD}`) returned 502. The API moved behind authentication, and registration was not open. Anything that uses those endpoints, including the `soccerdata` ClubElo reader, no longer works.
93
+ - **29 September 2026.** The site showed a Login link (`/login/`). The login, club and country pages returned 503/504 hosting errors; the ranking page still answered. Registration was still closed.
94
+ - **16 November 2026.** `https://clubelo.com/` and the club pages answered every script with HTTP 403 and a Cloudflare challenge page (`cf-mitigated: challenge`), with a plain or a browser User-Agent. A headed browser (Playwright with Chromium) did not pass the challenge on its own: the page loaded only after a person clicked the challenge's verify box. `api.clubelo.com` still answered 502.
103
95
 
104
- The pages also carry HTML tables of recent and upcoming matches, with Elo win probabilities and rating changes per game. Club slugs are the site's own (`AstonVilla`, `AustriaWien`); take them from the links on the ranking page.
96
+ **What a person can still see**: in a browser, after the challenge, the pages show the same server-rendered charts as before. The club pages (`https://clubelo.com/{club}`, for example `/Bayern`) chart about four years of ratings (`Date`, `Elo`, `Golo` per match), and the ranking page charts the top 50 clubs. That is a manual lookup, not a data source for a pipeline.
105
97
 
106
- ```python
107
- import json, re, requests
108
-
109
- def clubelo_history(club):
110
- """Rows from the rating chart on a ClubElo club page."""
111
- html = requests.get(f"https://clubelo.com/{club}", timeout=30).text
112
- spec = json.loads(re.search(r"var vegaJson = (\{.*?\});\s*\n", html, re.S).group(1))
113
- return next(rows for rows in spec["datasets"].values() if rows)
114
-
115
- rows = clubelo_history("Bayern") # [{"Date": "2022-09-30T00:00:00", "Elo": ..., "Golo": ..., "segment_id": 0}, ...]
116
- ```
117
-
118
- **Coverage**: Ratings run from 1946 to the present, but the public pages expose only the recent chart window. The full history was available through the old API.
119
-
120
- **Project use**: For run-in, fixture-difficulty, and season-story surfaces,
121
- ClubElo is useful as a lightweight strength prior. Join by a maintained club
122
- name map rather than assuming site labels match your canonical team labels.
123
- ClubElo is a rating source, not a fixture/result source, so combine it with
124
- fixtures from Opta, SportMonks, football-data.co.uk, or another schedule feed.
98
+ **Alternatives**: for a team-strength prior in an automated pipeline, compute your own Elo ratings from results (for example from football-data.co.uk, below), and join by a maintained club name map.
125
99
 
126
100
  ## football-data.co.uk
127
101
 
@@ -242,9 +216,9 @@ it in public analysis.
242
216
  |---|---|---|---|---|---|---|---|---|
243
217
  | Event-level data | Full | No | Shot-level | No | No | No | No | Full |
244
218
  | Aggregated stats | Via events | Yes | Yes | No | Basic | No | No | Yes |
245
- | xG | Yes | Yes (Opta) | Yes (own model) | No | No | No | No | No |
219
+ | xG | Yes | Yes (Opta) | Yes (own model) | No | Not yet (`HxG`/`AxG` listed in notes.txt, in no file checked on 2026-11-16) | No | No | No |
246
220
  | Coordinates | Yes | No | Shot coords | No | No | No | No | Yes |
247
221
  | Historical depth | Limited | 2017+ detailed | 2014+ | ~2022+ public (1946+ via API) | 1993+ | 1888+ England | 2004+ | ~2010+ |
248
222
  | League coverage | Select | Top 5+ | Top 5 | Europe | 25+ | England + selected global leagues | Global | Top 5+ |
249
223
  | Commercial use | No | No | Unclear | Yes | Yes | Non-commercial attribution expected | No | No |
250
- | API available | GitHub | No | No | Behind auth | CSV download | R/GitHub data | No | No |
224
+ | API available | GitHub | No | No | Behind auth (section frozen) | CSV download | R/GitHub data | No | No |
package/docs/reep/api.md CHANGED
@@ -2,7 +2,7 @@
2
2
  source_url: https://reep.football/api
3
3
  source_type: curated
4
4
  upstream_version: null
5
- crawled_at: 2026-10-09
5
+ crawled_at: 2026-11-16
6
6
  ---
7
7
 
8
8
  # Reep API
@@ -12,7 +12,8 @@ exposes nothing the free download does not. Base URL:
12
12
  `https://reep.football/api/v1`. The full contract is the OpenAPI specification
13
13
  at https://reep.football/openapi.yaml, rendered at https://reep.football/docs.
14
14
  Checked on 2026-10-09 against release `20261005T180536Z`; the specification was
15
- unchanged on 2026-11-03, when release `2026-10-31.1` was current.
15
+ unchanged on 2026-11-03 and on 2026-11-16 (when the download served release
16
+ `2026-10-19.1`).
16
17
 
17
18
  ## Getting a key
18
19
 
@@ -1,8 +1,8 @@
1
1
  ---
2
2
  source_url: https://reep.football/data/
3
3
  source_type: curated
4
- upstream_version: 2026-10-31.1
5
- crawled_at: 2026-11-03
4
+ upstream_version: 2026-10-19.1
5
+ crawled_at: 2026-11-16
6
6
  ---
7
7
 
8
8
  # Reep download: DuckDB, Parquet and CSV
@@ -11,7 +11,7 @@ The whole register is a free download with no key and no sign-up. Each table
11
11
  comes as a Parquet file and as a gzipped CSV, and one DuckDB file holds every
12
12
  table. The site calls the Parquet and CSV files the source contract and the
13
13
  DuckDB file a convenience build of the same rows. Written from reep.football and
14
- release `2026-10-31.1` on 2026-11-03.
14
+ release `2026-10-19.1`, the current download, on 2026-11-16.
15
15
 
16
16
  ## Stable download links
17
17
 
@@ -27,16 +27,23 @@ Each link redirects to the file under
27
27
 
28
28
  Tables available as CSV: `bridges`, `entities`, `redirects`, `entity_search`,
29
29
  `matches`, `edges`, `provider_aliases`, and the Wikidata overlay tables
30
- `overlay_links` and `overlay_aliases`.
30
+ `overlay_links` and `overlay_aliases`. In release `2026-10-19.1` the `edges` CSV
31
+ and Parquet files hold only a header row, and the DuckDB file has no `edges`
32
+ table.
31
33
 
32
34
  Source: [downloads](https://reep.football/data/). The old page address,
33
35
  https://reep.football/downloads, redirects there.
34
36
 
35
37
  ## Release files and checksums
36
38
 
37
- https://data.reep.football/releases/latest.json names the current release: its
38
- `stamp` (for example `2026-10-31.1`), and under `release` the `key` and `sha256`
39
- of that release's `release.json`. `release.json` lists every file of the release
39
+ https://data.reep.football/releases/latest.json names the release the downloads
40
+ channel serves: its `stamp` (for example `2026-10-19.1`), and under `release` the
41
+ `key` and `sha256` of that release's `release.json`. On 2026-11-16 the file had
42
+ `schema` `reep-public-selection/v1`, and also `generated_at`,
43
+ `activation_requested_at` and the checksums of the candidate, the policy and the
44
+ predecessor. It is a selection, not a counter: on that date it named
45
+ `2026-10-19.1`, older than the `2026-10-31.1` it named on 2026-11-03 (see the
46
+ overview). `release.json` lists every file of the release
40
47
  by name, each with its `key` (its path on the `data.reep.football` host), its
41
48
  `sha256` and its size in `bytes`. Besides the tables (`<table>.parquet`,
42
49
  `<table>.csv.gz` and an uncompressed `<table>.csv`) and `reep-register.duckdb`, a
@@ -50,14 +57,16 @@ in DuckDB, or the first line of a CSV).
50
57
  Older releases, such as `20261005T180536Z`, used a different layout: stamps of
51
58
  that form, a `release_metadata` table in the DuckDB file
52
59
  (`reep-register-v1.duckdb`), a `schema.json`, an `entities.label` column and
53
- `bridges.rung` and `bridges.upstream_status`. Release `2026-10-31.1` has none of
54
- these. Code written for the old layout fails on the new file.
60
+ `bridges.rung` and `bridges.upstream_status`. Releases `2026-10-19.1` and
61
+ `2026-10-31.1` have none of these. Code written for the old layout fails on the
62
+ new file.
55
63
 
56
64
  ## Keeping a local copy current
57
65
 
58
- A new release is cut every week. The DuckDB file of release `2026-10-31.1` does
59
- not record its own stamp, so keep the stamp of the release you downloaded
60
- next to the file, or compare the file's SHA-256 with the `sha256` of
66
+ A new download release is cut weekly or less often. The daily matching goes to
67
+ the API only, so the file has no matches made after its release. The DuckDB files
68
+ of releases `2026-10-19.1` and `2026-10-31.1` do not record their own stamp, so keep the stamp of the
69
+ release you downloaded next to the file, or compare the file's SHA-256 with the `sha256` of
61
70
  `reep-register.duckdb` in the current `release.json`. When they differ, download
62
71
  the file again from https://reep.football/downloads/duckdb over the old copy,
63
72
  then resolve stored Reep IDs through the `redirects` table. Check before any bulk
@@ -73,24 +82,33 @@ matching job.
73
82
  | `entity_search` | `reep_id, entity_type, label, canonical_name, search_text, bridge_count, alias_count` | Each identity's names and aliases in one text column, for name search. |
74
83
 
75
84
  `entities` also has `birth_date`, `birth_date_iso` and `dob_precision`. In
76
- release `2026-10-31.1` both date columns are empty in every row and
77
- `dob_precision` is `redacted_private` in every row. `matches` holds fixtures
78
- (`fixture_label`, `match_date_iso`, `season_id`, `home_team_id`, `away_team_id`,
79
- `home_score`, `away_score` and more), `edges` holds typed links between entities
80
- (`edge_kind` values in that release: `home_team`, `away_team`, `match_in_season`,
81
- `stage_of`, `season_of`, `hosted_at`), and `provider_aliases` holds provider name
82
- variants (`alias_kind`: `label`, `initial_name`, `alias`, `short_name`,
83
- `full_name`, `official_name`).
85
+ release `2026-10-19.1` both date columns are empty in every row and
86
+ `dob_precision` is `redacted_private` in every row.
87
+
88
+ `matches` holds fixtures. In release `2026-10-19.1` its columns are `reep_id`,
89
+ `fixture_label`, `gender`, `country`, `match_date_iso`, `grade`, `bucket_count`,
90
+ `corroboration_buckets` and `metadata_json`. Every row has a `match_date_iso`,
91
+ and `metadata_json` is empty in every row. It has no team, season, score or
92
+ result columns, and `edges` has no rows, so the download cannot say which teams
93
+ played a match except through the `fixture_label` text. Release `2026-10-31.1`
94
+ also had `season_id`, `home_team_id`, `away_team_id`, `home_score`, `away_score`,
95
+ `match_state`, `result_form`, `shootout_home`, `shootout_away`, `score_basis`,
96
+ `leg` and `aggregate_of`, and `edges` rows (`edge_kind`: `home_team`,
97
+ `away_team`, `match_in_season`, `stage_of`, `season_of`, `hosted_at`). For teams,
98
+ scores and states, use the API's `GET /api/v1/matches`.
99
+
100
+ `provider_aliases` holds provider name variants (`alias_kind` in release
101
+ `2026-10-19.1`: `label`, `initial_name`, `alias`, `short_name`, `official_name`).
84
102
 
85
103
  The DuckDB file is self-describing: `SHOW TABLES;` and `DESCRIBE bridges;`.
86
104
  Source: [get-started guide](https://reep.football/get-started).
87
105
 
88
106
  ### Redirect reasons
89
107
 
90
- In release `2026-10-31.1`, `redirects` has 12,917 rows and every row has a
108
+ In release `2026-10-19.1`, `redirects` has 7,918 rows and every row has a
91
109
  `to_id`: there are no tombstones (rows with an empty `to_id`) in that release.
92
- `reason` is free text, with 5,983 distinct values, for example
93
- `v4.dormant_recorroborate.match_reconciled_to_active`. Do not branch on it. The
110
+ `reason` is free text, with 6,027 distinct values, for example
111
+ `v4.dormant_recorroborate.person_merged_into_active`. Do not branch on it. The
94
112
  ledger is flat: no `to_id` is also a `from_id`.
95
113
 
96
114
  ### Bridges can name a merged Reep ID
@@ -99,7 +117,7 @@ When two Reep IDs merge, the losing ID can keep its bridge rows, and `redirects`
99
117
  points it at the survivor. A bridge's `reep_id` can then be a merged ID, and a
100
118
  join from `bridges` straight to `entities` lands on the merged ID and misses the
101
119
  survivor's other provider IDs. Release `20261005T180536Z` had 4,211 such
102
- bridges; release `2026-10-31.1` has none. Resolve every bridge to its survivor
120
+ bridges; releases `2026-10-19.1` and `2026-10-31.1` have none. Resolve every bridge to its survivor
103
121
  first anyway, so the same query works on every release. One join is enough,
104
122
  because the ledger is flat:
105
123
 
@@ -139,7 +157,7 @@ WHERE a.provider = 'wyscout' AND a.namespace = 'player'
139
157
  -- → rp1b829f1d3468c4 · Declan Rice · skillcorner 12174
140
158
  ```
141
159
 
142
- Checked on release `2026-10-31.1`.
160
+ Checked on release `2026-10-19.1`.
143
161
 
144
162
  ## Bridge a whole file in one pass
145
163
 
@@ -209,7 +227,7 @@ FROM entity_search
209
227
  WHERE search_text ILIKE '%ødegaard%'
210
228
  ORDER BY bridge_count DESC
211
229
  LIMIT 5;
212
- -- → Martin Ødegaard (26 bridges), Magnar Ødegaard (18), Emil Gundelach Ødegaard (17), …
230
+ -- → Martin Ødegaard (29 bridges), Magnar Ødegaard (21), Emil Gundelach Ødegaard (19), …
213
231
  ```
214
232
 
215
233
  Confirm a name match by team, season or nationality before trusting it.
@@ -2,7 +2,7 @@
2
2
  source_url: https://reep.football/id-policy
3
3
  source_type: curated
4
4
  upstream_version: null
5
- crawled_at: 2026-11-03
5
+ crawled_at: 2026-11-16
6
6
  ---
7
7
 
8
8
  # Reep IDs, bridges and redirects
@@ -16,11 +16,13 @@ The API specification says a Reep ID matches `^r[a-z][0-9a-f]{14}$`, for example
16
16
  `rp1b829f1d3468c4`. The second letter varies with the entity type, but read the
17
17
  `entity_type` field rather than parsing the ID. Store Reep IDs as text.
18
18
 
19
- The download has a second form too. In release `2026-10-31.1`, 192,942 of the
20
- 3,116,484 entities have an ID of one letter, an underscore and 16 hex digits:
21
- 192,906 matches (for example `m_00004237ae76edf9`), 29 venues (`v_…`), 3 coaches
22
- (`c_…`), 3 players (`p_…`) and 1 stage (`r_…`). Do not validate Reep IDs against
23
- the pattern above; treat them as opaque text.
19
+ The download has a second form too. In release `2026-10-19.1`, 1,127 of the
20
+ 1,990,061 entities have an ID of one letter, an underscore and 16 hex digits:
21
+ 1,088 transfers (for example `x_0025dde5e1e2fe1f`), 29 venues (`v_…`), 3 coaches
22
+ (`c_…`), 3 players (`p_…`), 2 awards (`a_…`) and 2 stages (`r_…`). Matches there
23
+ use the `r…` form (`rm…`). Release `2026-10-31.1` instead gave 192,906 matches the
24
+ underscore form (for example `m_00004237ae76edf9`). Do not validate Reep IDs
25
+ against the pattern above; treat them as opaque text.
24
26
 
25
27
  What an ID promises:
26
28
 
@@ -63,17 +65,19 @@ numeric columns before joining. Opta carries both its 25-character IDs
63
65
  (`person`, `team`) and numeric forms (`person_numeric`, `team_numeric`,
64
66
  `competition_numeric`, and also `match_numeric` and `season_numeric`). The
65
67
  namespaces above follow the get-started guide and were checked against release
66
- `2026-10-31.1`.
67
-
68
- That release has 279 provider and namespace pairs across 34 providers. Next to
69
- the namespaces above, most providers also carry generic ones: `fixture_participants`
70
- (29 providers), `team`, `coach`, `match`, `player`, `competition`, `stage`,
71
- `manager`, `season` and `venue`. Transfermarkt has both `verein` and `team`, and
72
- both `spieler` and `player`, with different IDs in each: Arsenal has `verein`
73
- `11` and `team` `97974`. Join on the namespace your IDs came from; a wrong
74
- namespace matches nothing, or matches a different ID.
75
-
76
- In that release, 2,464 of the 4,920 venue bridges carry a prefix in
68
+ `2026-10-19.1`.
69
+
70
+ That release has 218 provider and namespace pairs across 33 providers. Next to
71
+ the namespaces above, many providers also carry generic ones: `team` (24
72
+ providers), `player` (23), `competition` (22), `match` (20), `award` and `season`
73
+ (16 each), `stage` (15), `coach` (9), `venue` and `person` (7 each) and `manager`
74
+ (6). Transfermarkt has both `spieler` (395,449 bridges) and `player` (907), and no
75
+ entity carries both; its clubs are under `verein` only in that release. (Release
76
+ `2026-10-31.1` also had a Transfermarkt `team` namespace with different IDs:
77
+ Arsenal was `verein` `11` and `team` `97974`.) Join on the namespace your IDs came
78
+ from; a wrong namespace matches nothing, or matches a different ID.
79
+
80
+ In that release, 114 of the 187 venue bridges carry a prefix in
77
81
  `external_id`: the Emirates Stadium is `transfermarkt / venue / tm_venue:11` and
78
82
  `besoccer / venue / bs_venue:263`, but `api_football / venue / 494`. Check the
79
83
  form before joining a provider's bare venue number.
@@ -81,8 +85,8 @@ form before joining a provider's bare venue number.
81
85
  A few entities hold two IDs from one provider, for example after the provider
82
86
  reissued an ID. Aggregate with `string_agg` rather than `max` so that neither is
83
87
  dropped. Releases from 2026-09-26 to at least 2026-10-05 marked the retired one
84
- of such a pair in `bridges.upstream_status`; release `2026-10-31.1` has no such
85
- column. Source: [get-started guide](https://reep.football/get-started).
88
+ of such a pair in `bridges.upstream_status`; releases `2026-10-19.1` and
89
+ `2026-10-31.1` have no such column. Source: [get-started guide](https://reep.football/get-started).
86
90
 
87
91
  ## Provider roles
88
92