Head coach of one team-season.
Endpoint: GET https://www.legabasket.it/api/teams/get-team-roster (id=<team_id>)
Value
A hoopR_data tibble: Head coach of one team-season. The columns are always these, in this order (sportsdataverse-py
lba_roster_coach); a column the site adds later is appended after them:
| col_name | type | description |
| team_id | integer | Team-season id (re-issued every season); join lba_teams for the stable club_id. |
| club_id | integer | Club id: the cross-season join key for team ids (only here and in the team headers); stability across seasons is unverified. |
| club_code | character | Club code (TVB, TS); whether it is stable across seasons is unverified. |
| season | integer | Season END year (2027 = 2026-27): the row's START year + 1. |
| coach_id | integer | Coach id (global coach key space; joins the game header home_coach_id / visitor_coach_id). |
| name | character | Coach's given name. |
| surname | character | Coach's family name. |
| birth_date | character | Birth date, Date YYYY-MM-DD. |
| place_of_birth | character | Birthplace (Italian spelling, e.g. Londra). |
| coach_type_id | integer | Coach role id (1 = head coach). |
| coach_type_description | character | Coach role, Italian: Allenatore = head coach. |
| coach_type_code | character | Coach role code, number sent as a string. |
| team_name | character | Team, short name. |
| coach_picture_key | character | Image key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl). |
| team_logo_key | character | Image key: the image is {cdn_url}/{key}, resized copies {cdn_url}/variants/{key}/thumb or /large (the site's getApiImageUrl). |
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in lba_championships().
lba_roster_coach(team_id = 1764)See also
Other LBA Functions:
lba_box_score(),
lba_calendar(),
lba_championships(),
lba_game(),
lba_game_log(),
lba_pbp(),
lba_pbp_legend(),
lba_player(),
lba_player_stats(),
lba_players(),
lba_players_leaderboard(),
lba_roster(),
lba_shots(),
lba_standings(),
lba_team_box_score(),
lba_team_players_stats(),
lba_teams(),
lba_teams_leaderboard()
