Skip to contents

Per club, the players joining and leaving, one row per move with its direction (BBL only).

Endpoint: GET https://api.basketball-bundesliga.de/transfers/teams

Usage

scb_transfers_teams()

Value

A hoopR_data tibble: Per club, the players joining and leaving, one row per move with its direction (BBL only). An empty valid answer raises hoopR_no_data; the columns are always these, in this order (sportsdataverse-py scb_transfers_teams):

col_nametypedescription
team_idcharacterClub id, a string; equal to season_team_id in every sample. Joins to scb_team and scb_season_teams.
directioncharacterjoining or leaving: whether team_id is the destination or the source of the move.
leaguecharacterLeague the row belongs to: bbl (men) or dbbl (women); BBL and DBBL game ids overlap, so a game is (league, game_id).
transfer_datecharacterDate of the transfer, YYYY-MM-DD (the API's sortingDate).
season_player_idcharacterSeason-player id: one player's engagement with one club (kept across seasons while he stays, new after a move). Joins box-score lines, actions, records and scb_season_player.
real_player_idintegerGlobal person id (integer): the same player across clubs and seasons. Join players across seasons on this.
first_namecharacterPlayer's given name.
last_namecharacterPlayer's family name.
positioncharacterPosition: POINT_GUARD, SHOOTING_GUARD, SMALL_FORWARD, POWER_FORWARD, CENTER.
source_team_idcharacterClub id the player left; null when the source is not a league club.
source_team_namecharacterName of the club the player left (the free-text field, else the short club name).
destination_team_idcharacterClub id the player joined; null when the destination is not a league club.
destination_team_namecharacterName of the club the player joined (the free-text field, else the short club name).

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in scb_seasons().