Skip to content

ENH: Interactive interface for selecting elements of the Taxes and Transfers Graph #29

@hmgaudecker

Description

@hmgaudecker

This is extracted from ttsim-dev/gettsim#781 and has been slightly edited. It was a component there, which has not been implemented so far, but keeping that humongous issue open would mean this would get lost.

Is your feature request related to a problem?

GETTSIM's approach of being precise and requiring all relevant inputs means that simple questions can only be answered either with a huge amount of input data or with detailed knowledge of the DAG (e.g., how to cut off the pensions calculations part of the DAG when we have a sample of 30-year olds and ignore DI).

Describe the solution you would like to see

Provide an interactive interfaces for selecting subgraphs (more below)

Interactive interface

  • Notebook or other dashboard-style UI
  • Allow for a higher-level view of the graph (just the upper-level keys in the hierarchical structure, like arbeitslosengeld_2, sozialversicherung, ... width of edges mirrors the amount of links between individual functions, click on an area opens the internal structure), coloring of nodes following the upper-level keys.
  • Clicking on a node means that it will become a root node provided via the data. All nodes that are not necessary anymore disappear / are greyed out. Clicking on that node again makes it an endogenous node again. policy_input nodes (say, gender) do not require explicit selection
  • There is a button to export all root nodes, which generates the template for mapping to data columns / the list of data columns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions