{"part":"task","text":"# Datasets\nPass a dataset's id as the `dataset` argument.\n{\n \"id\": \"song_estimating_incumbency\",\n \"rows\": 58153,\n \"description\": \"The dataset is a panel of electoral constituencies across multiple countries and years, designed to study incumbency effects. Each row corresponds to a party's performance in a given constituency at a given election.\\n\\nDataset Variables:\\nyear: The year of the election\\ncountry: The country where the election took place (e.g., Canada, Japan, UK, USA, Romania, etc.)\\noffice: Name of the office being contested (e.g., House of Commons, Mayor)\\ncst_n: Constituency identifier (e.g., \\\"\\\"abbotsford\\\"\\\", \\\"\\\"abitibi\\\"\\\")\\nl_vmargin: Lagged vote margin: the party's vote margin in the previous election (Values more than 0 indicate the party won (positive) and values less than 0 indicate the party lost (negative))\\nvmargin: Current vote margin: the party's vote margin in the current election\\nvs: Vote share of the party in the current election (between 0 and 1)\\nwin: Outcome of the current election: 1 means the party won the seat, 0 means the party lost\\nl_win: Lagged win indicator: 1 means the party won the previous election in this constituency, 0 means the party lost\\ninc: Incumbency indicator for the party's candidate in the current election: 1 means candidate is the incumbent, 0 means not incumbent, -1 appears to mark cases where incumbency is undefined or missing\\noffice_num: Encoded office type, combining country and office (e.g., Canada, House)\\nrd_s: Indicator variable that equals 1 if the observation is part of a subset of elections defined by narrow vote margins, and 0 otherwise\",\n \"columns\": {\n  \"Unnamed: 0\": \"int64\",\n  \"year\": \"int64\",\n  \"country\": \"str\",\n  \"office\": \"str\",\n  \"cst_n\": \"str\",\n  \"l_vmargin\": \"float64\",\n  \"vmargin\": \"float64\",\n  \"vs\": \"float64\",\n  \"win\": \"float64\",\n  \"l_win\": \"int64\",\n  \"inc\": \"int64\",\n  \"office_num\": \"str\",\n  \"rd_s\": \"int64\",\n  \"country_norm\": \"str\"\n }\n}"}