> ## Documentation Index
> Fetch the complete documentation index at: https://www.canva.dev/opensource/flourish-charts/llms.txt
> Use this file to discover all available pages before exploring further.
# Bind tournament data
## Usage
```python
def bind_tournament_data(
self,
round: str = None,
team_a: str = None,
team_b: str = None,
winner: str = None,
score_a: str = None,
score_b: str = None,
metadata: Union[list, str] = None,
id: str = None,
image: str = None
)
```
```r
bind_tournament_data(
.,
round = NULL,
team_a = NULL,
team_b = NULL,
winner = NULL,
score_a = NULL,
score_b = NULL,
metadata = NULL,
id = NULL,
image = NULL
)
```
## Arguments
| Arguments | Type hint | Description |
| ---------- | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `self` | `Flourish` | Returns the Flourish object |
| `round` | `str`, optional | Stage. The stage of the tournament, for example "Round of 16" or "Semifinals". Flourish type hint: column |
| `team_a` | `str`, optional | Participant A. The first participant or team in this match. Flourish type hint: column |
| `team_b` | `str`, optional | Participant B. The second participant or team in this match. Flourish type hint: column |
| `winner` | `str`, optional | Winner. The winning participant or team in this match. Must match the name of either Participant A or Participant B. If left blank, the template will assume that the match is upcoming. Flourish type hint: column |
| `score_a` | `str`, optional | Participant A score. The score of Participant A in this match. Will appear along with the participants name in the box. Suggested data type hints: string, number. Flourish type hint: column |
| `score_b` | `str`, optional | Participant B score. The score of Participant B in this match. Will appear along with the participants name in the box. Suggested data type hints: string, number. Flourish type hint: column |
| `metadata` | `Union[list, str]`, optional | Info for popups. One or more columns of information (text, image URLs , embedded charts etc) to include in popups and panels Suggested data type hints: string, number, datetime. Flourish type hint: columns |
| `id` | `str`, optional | ID. Participant ID. Should match a participants name from the Matches sheet. Flourish type hint: column |
| `image` | `str`, optional | Image. Image to render in the participant box. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |
| Arguments | Description |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `.` | Returns the Flourish object |
| `round` | Stage. The stage of the tournament, for example "Round of 16" or "Semifinals". Flourish type hint: column |
| `team_a` | Participant A. The first participant or team in this match. Flourish type hint: column |
| `team_b` | Participant B. The second participant or team in this match. Flourish type hint: column |
| `winner` | Winner. The winning participant or team in this match. Must match the name of either Participant A or Participant B. If left blank, the template will assume that the match is upcoming. Flourish type hint: column |
| `score_a` | Participant A score. The score of Participant A in this match. Will appear along with the participants name in the box. Suggested data type hints: string, number. Flourish type hint: column |
| `score_b` | Participant B score. The score of Participant B in this match. Will appear along with the participants name in the box. Suggested data type hints: string, number. Flourish type hint: column |
| `metadata` | Info for popups. One or more columns of information (text, image URLs , embedded charts etc) to include in popups and panels Suggested data type hints: string, number, datetime. Flourish type hint: columns |
| `id` | ID. Participant ID. Should match a participants name from the Matches sheet. Flourish type hint: column |
| `image` | Image. Image to render in the participant box. Add an image URL or right-click on a cell to upload an image. Flourish type hint: column |