{"part":"task","text":"# Datasets\nPass a dataset's id as the `dataset` argument.\n{\n \"id\": \"ds_0056\",\n \"rows\": 32747,\n \"description\": \"| Variable Name   | Description                                                                                         |\\n|-----------------|-----------------------------------------------------------------------------------------------------|\\n| Unnamed: 0      | Row index carried over from the source file.                                                        |\\n| contact         | Indicator that the respondent (or someone in the household) reported contacting their U.S. House office. |\\n| rspartywon      | Indicator that the party the respondent identifies with currently holds the district\u2019s House seat.  |\\n| rspartywinperc  | Vote-share margin for the respondent\u2019s party in the most recent U.S. House general election (negative if loss). |\\n| distname        | Congressional district name (e.g., \u201cStateNumber,\u201d such as \u201cAlabama1\u201d).                             |\\n| distencoded     | Numeric code for the congressional district.                                                         |\\n| margin          | District vote margin from the most recent U.S. House election (same coding as rspartywinperc).      |\\n| pknowl          | Political knowledge score based on correct responses to a knowledge battery (scaled 0\u20131).           |\\n| church          | Self-reported frequency of attending religious services (scaled).                                    |\\n| churchmr        | Mean-replaced version of church (original missing values filled with the sample mean).              |\\n| churchmiss      | Missingness flag for church (1 if church was missing in the raw data, 0 otherwise).                 |\\n| dempidstr       | Strength of Democratic Party identification (scaled).                                                |\\n| dempidstrmr     | Mean-replaced version of dempidstr.                                                                  |\\n| dempidstrmiss   | Missingness flag for dempidstr.                                                                      |\\n| reppidstr       | Strength of Republican Party identification (scaled).                                                |\\n| reppidstrmr     | Mean-replaced version of reppidstr.                                                                  |\\n| reppidstrmiss   | Missingness flag for reppidstr.                                                                      |\\n| age             | Respondent age in years.                                                                             |\\n| agemr           | Mean-replaced version of age.                                                                        |\\n| actscale        | Composite scale of political activity/engagement (scaled).                                           |\\n| actscalemr      | Mean-replaced version of actscale.                                                                   |\\n| actscalemiss    | Missingness flag for actscale.                                                                       |\\n| followpol       | Self-reported attention to or following of politics (scaled).                                        |\\n| followpolmr     | Mean-replaced version of followpol.                                                                  |\\n| followpolmiss   | Missingness flag for followpol.                                                                      |\\n| incomecat       | Household income category (ordered category, scaled for analysis).                                   |\\n| incomecatmr     | Mean-replaced version of incomecat.                                                                  |\\n| incomecatmiss   | Missingness flag for incomecat.                                                                      |\\n| donategen       | Indicator for having made a political/campaign donation.                                             |\\n| donategenmr     | Mean-replaced version of donategen.                                                                  |\\n| donategenmiss   | Missingness flag for donategen.                                                                      |\\n\\nData Description: The dataset consists of respondent-level records from the 2008 Cooperative Congressional Election Study (CCES), fielded online by YouGov/Polimetrix in October\u2013November 2008, matched to U.S. House district identifiers and district-level general election returns from the most recent contest at the time (the 2006 U.S. House elections, compiled from CQ Press). Each record links a survey respondent to their congressional district and includes whether they reported contacting their current U.S. House member\u2019s office, their party identification strength, political knowledge, religious attendance, age, political engagement, attention to politics, income category, and whether they report having made political donations.\\n\\nTo provide district context, the file includes the district name/code and the party-aligned vote margin from the prior House election. Variables are typically scaled to 0\u20131 for analysis. For several measures the dataset includes a trio of columns: the original variable, a mean-replaced version used when handling missing survey responses, and a corresponding missingness indicator. The data support analyses of patterns in citizen communication with congressional offices alongside individual characteristics and district electoral context.\",\n \"columns\": {\n  \"Unnamed: 0\": \"int64\",\n  \"contact\": \"float64\",\n  \"rspartywon\": \"int64\",\n  \"rspartywinperc\": \"float64\",\n  \"distname\": \"str\",\n  \"distencoded\": \"int64\",\n  \"margin\": \"float64\",\n  \"pknowl\": \"float64\",\n  \"church\": \"float64\",\n  \"churchmr\": \"float64\",\n  \"churchmiss\": \"int64\",\n  \"dempidstr\": \"float64\",\n  \"dempidstrmr\": \"float64\",\n  \"dempidstrmiss\": \"int64\",\n  \"reppidstr\": \"float64\",\n  \"reppidstrmr\": \"float64\",\n  \"reppidstrmiss\": \"int64\",\n  \"age\": \"int64\",\n  \"agemr\": \"int64\",\n  \"actscale\": \"float64\",\n  \"actscalemr\": \"float64\",\n  \"actscalemiss\": \"int64\",\n  \"followpol\": \"float64\",\n  \"followpolmr\": \"float64\",\n  \"followpolmiss\": \"int64\",\n  \"incomecat\": \"float64\",\n  \"incomecatmr\": \"float64\",\n  \"incomecatmiss\": \"int64\",\n  \"donategen\": \"float64\",\n  \"donategenmr\": \"float64\",\n  \"donategenmiss\": \"int64\"\n }\n}"}