dopo.dash.app
Attributes
Functions
Clear the dataset search bar when switching dataset types. |
|
|
Enforce single selection in the dataset type checklist. |
|
|
|
Populate the project list on initial load. |
|
Main analysis and plot callback. Handles running the analysis and updating the UI. |
|
Show/hide dataset checklist containers based on selected type. |
|
Update the database list based on selected project. |
|
Update checklist options for sectors, CPC, and ISIC based on selection and search. |
|
Update the impact assessment list based on search and selected project. |
Module Contents
- dopo.dash.app.clear_search_on_dataset_change(_: List[str]) str[source]
Clear the dataset search bar when switching dataset types.
- dopo.dash.app.enforce_single_dataset_selection(current_selection: List[str]) List[str][source]
Enforce single selection in the dataset type checklist.
- dopo.dash.app.populate_projects_on_load(n_intervals: int) Tuple[List[dict], str][source]
Populate the project list on initial load.
- dopo.dash.app.run_analysis_and_plot(n_clicks: int, selected_sector: str, selected_method: str, selected_plot: str, project: str, databases: List[str], sectors: List[str], cpc: List[str], isic: List[str], dataset: List[str], methods: List[str], stored_data: dict, search_type: List[str], exclude_markets: List[str]) Tuple[source]
Main analysis and plot callback. Handles running the analysis and updating the UI.
- dopo.dash.app.toggle_dataset_checklists(selected_types: List[str]) Tuple[dict, dict, dict, dict][source]
Show/hide dataset checklist containers based on selected type.
- dopo.dash.app.update_databases(selected_project: str) List[dict][source]
Update the database list based on selected project.
- dopo.dash.app.update_filtered_dataset_options(selected_types: List[str], selected_databases: List[str], search_term: str | None) Tuple[List[dict], List[dict], List[dict], List[dict]][source]
Update checklist options for sectors, CPC, and ISIC based on selection and search.