This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
export.
export_tabular_by_visualization_id
export_tabular_by_visualization_id(workspace_id: str, visualization_id: str, file_format: str, file_name: Optional[str], settings: Optional[ExportSettings], store_path: Union[str, Path], timeout: float, retry: float, max_retry: float)
Exports the tabular data of a particular visualization id.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | str | The workspace id from which the visualization is to be exported. |
| visualization_id | str | The id of the visualization to be exported. |
| file_format | str | The format of the file to be exported. |
| file_name | Optional[str] | The name which the exported file should have. Defaults to None. |
| settings | Optional[ExportSettings] | Any additional settings for the export. Defaults to None. |
| store_path | Union[str, Path] | The path to store the exported file. Default to Path.cwd(). |
| timeout | float | The maximum time to wait for the export to finish. Defaults to 60.0. |
| retry | float | Initial wait time (in seconds) before retrying to get the exported content. Defaults to 0.2. |
| max_retry | float | The maximum retry wait time (in seconds). Defaults to 5.0. |
Returns
NoneExample
host = "https://www.example.com"
token = "<your_personal_access_token>"
sdk = GoodDataSdk.create(host, token)
sdk.export.export_tabular_by_visualization_id(
workspace_id="demo", visualization_id="campaign_spend", file_format="CSV")