{"part":"task","text":"# Datasets\nPass a dataset's id as the `dataset` argument.\n{\n \"id\": \"snyder_partisan_imbalance\",\n \"rows\": 43863,\n \"description\": \"The dataset contains the results of state-level elections: House, Senate, and Governor. It includes data on the share of the Democrats in the election and the outcomes. An election is won by the party that secures voter share greater than 0.5.\\n\\nVariable description:\\nstate: state where the election is held\\nyear: year when the election is held\\noffice: office type (S = senate, H = house, G = governor, etc.)\\ndist: district number\\ntype: election type (G = general, S = special)\\ndem_share: democratic vote share in the election (fraction between 0 and 1)\\ndem_win: whether the democratic candidate won the election (1) or not (0)\\ndem_share_next: democratic vote share in the next election (fraction between 0 and 1)\\ndem_win_next: whether the democratic candidate won the next election (1) or not (0)\\ngov_dem: whether the governor is a democrat (1) or not (0)\",\n \"columns\": {\n  \"state\": \"str\",\n  \"year\": \"int64\",\n  \"office\": \"str\",\n  \"dist\": \"float64\",\n  \"type\": \"str\",\n  \"dem_share\": \"float64\",\n  \"dem_win\": \"float64\",\n  \"dem_share_next\": \"float64\",\n  \"dem_win_next\": \"float64\",\n  \"state_type2\": \"str\",\n  \"gov_dem\": \"float64\",\n  \"st_dem\": \"float64\"\n }\n}"}