{"part":"task","text":"# Datasets\nPass a dataset's id as the `dataset` argument.\n{\n \"id\": \"carpenter_the_minimum_legal\",\n \"rows\": 80,\n \"description\": \"This dataset aggregates near-census administrative records of emergency department visits and inpatient hospital admissions for U.S. young adults into age-in-months bins around the 21st birthday, with outcomes expressed as rates per 10,000 person-years by cause, gender, pregnancy exclusion, and contributing state tags where available. Age-running variables index months relative to 21, along with pre/post age polynomials and an indicator for the 21st-birthday month to accommodate birthday-month spikes documented in alcohol intoxication visits.\\n\\nVariables:\\nmonths_21: Integer months relative to the 21st birthday (e.g., -24 to +24), indexing the running age variable used to organize age-specific rates\\nage: Age reported in years corresponding to the same age-month cell, provided for convenience alongside months_21\\nbmonth: Indicator equal to 1 for the month containing the 21st birthday (the \\\"\\\"birthday month\\\"\\\" control used to accommodate celebration spikes), 0 otherwise\\npost: Indicator equal to 1 for observations at or above age 21 in months (post-threshold), 0 otherwise\\nlinear, linear_post: Linear age terms for pre- and post-threshold segments, capturing smooth age trends on either side of age 21 within the specified bandwidth\\nage_months: Age in months as a non-centered index (e.g., from 228 to 276), facilitating alternative specifications and diagnostics\\nage_c, age_c_sq: Age in months centered at 21 (0 at 21) and its square for flexible smooth trends\\nover: Synonym for post (equals 1 at and after 21), supplied for alternate coding conventions in estimation\\nage_c_post, age_c_post_sq: Interactions of centered age and its square with the post indicator to allow different slopes/curvature after 21\\ndummy21: Binary flag for the 21st-birthday month, identical in purpose to bmonth for absorbing discrete celebration effects in that month\\nvisit_all_r: All non-pregnancy-screened ED visits per 10,000 person-years in the age-month cell\\nalcohol_any_all_r: ED visits with primary alcohol intoxication coding per 10,000\\ninjury_all_r: ED visits for any injury cause per 10,000\\ninj_by_self_all_r / inj_by_oth_all_r / inj_accident_all_r: ED visits per 10,000 for self-inflicted injuries, injuries inflicted by others, and accidental injuries, respectively\\nillness_all_r: ED visits per 10,000 for residual illness (non-alcohol, non-injury)\\ninjury_or_alc_all_r: Composite of injury or alcohol intoxication ED visits per 10,000; visit_all_np_r, alcohol_any_all_np_r, injury_all_np_r, inj_by_self_all_np_r, inj_by_oth_all_np_r, inj_accident_all_np_r, illness_all_np_r, injury_or_alc_all_np_r: Same definitions as \\\"\\\"all_r\\\"\\\" but excluding pregnancy-related encounters, aligning with the study's analytic sample\\nvisit_m_r, alcohol_any_m_r, injury_m_r, inj_by_self_m_r, inj_by_oth_m_r, inj_accident_m_r, illness_m_r, injury_or_alc_m_r: Male-only ED rates per 10,000 by cause\\nvisit_f_r, alcohol_any_f_r, injury_f_r, inj_by_self_f_r, inj_by_oth_f_r, inj_accident_f_r, illness_f_r, injury_or_alc_f_r: Female-only ED rates per 10,000 by cause\\nvisit_f_np_r, alcohol_any_f_np_r, injury_f_np_r, inj_by_self_f_np_r, inj_by_oth_f_np_r, inj_accident_f_np_r, illness_f_np_r, injury_or_alc_f_np_r: Female-only non-pregnancy ED rates per 10,000 by cause\\nvisit_az_np_r, alcohol_any_az_np_r, injury_az_np_r, inj_by_self_az_np_r, inj_by_oth_az_np_r, inj_accident_az_np_r, illness_az_np_r, injury_or_alc_az_np_r: Arizona-specific ED rates per 10,000 (non-pregnancy), by cause\\nvisit_ca_np_r, alcohol_any_ca_np_r, injury_ca_np_r, inj_by_self_ca_np_r, inj_by_oth_ca_np_r, inj_accident_ca_np_r, illness_ca_np_r, injury_or_alc_ca_np_r: State-tagged ED rates provided where available in replication files, analogous definitions as above\\nvisit_ia_np_r, alcohol_any_ia_np_r, injury_ia_np_r, inj_by_self_ia_np_r, inj_by_oth_ia_np_r, inj_accident_ia_np_r, illness_ia_np_r, injury_or_alc_ia_np_r: State-tagged ED rates provided where available in replication files, analogous definitions as above\\nvisit_nj_np_r, alcohol_any_nj_np_r, injury_nj_np_r, inj_by_self_nj_np_r, inj_by_oth_nj_np_r, inj_accident_nj_np_r, illness_nj_np_r, injury_or_alc_nj_np_r: New Jersey-specific ED rates per 10,000 (non-pregnancy), by cause\\nvisit_wi_np_r, alcohol_any_wi_np_r, injury_wi_np_r, inj_by_self_wi_np_r, inj_by_oth_wi_np_r, inj_accident_wi_np_r, illness_wi_np_r, injury_or_alc_wi_np_r: Wisconsin-specific ED rates per 10,000 (non-pregnancy), by cause\",\n \"columns\": {\n  \"months_21\": \"float64\",\n  \"age\": \"float64\",\n  \"bmonth\": \"float64\",\n  \"post\": \"float64\",\n  \"linear\": \"float64\",\n  \"linear_post\": \"float64\",\n  \"visit_all_r\": \"float64\",\n  \"alcohol_any_all_r\": \"float64\",\n  \"injury_all_r\": \"float64\",\n  \"inj_by_self_all_r\": \"float64\",\n  \"inj_by_oth_all_r\": \"float64\",\n  \"inj_accident_all_r\": \"float64\",\n  \"illness_all_r\": \"float64\",\n  \"injury_or_alc_all_r\": \"float64\",\n  \"visit_all_np_r\": \"float64\",\n  \"alcohol_any_all_np_r\": \"float64\",\n  \"injury_all_np_r\": \"float64\",\n  \"inj_by_self_all_np_r\": \"float64\",\n  \"inj_by_oth_all_np_r\": \"float64\",\n  \"inj_accident_all_np_r\": \"float64\",\n  \"illness_all_np_r\": \"float64\",\n  \"injury_or_alc_all_np_r\": \"float64\",\n  \"visit_m_r\": \"float64\",\n  \"alcohol_any_m_r\": \"float64\",\n  \"injury_m_r\": \"float64\",\n  \"inj_by_self_m_r\": \"float64\",\n  \"inj_by_oth_m_r\": \"float64\",\n  \"inj_accident_m_r\": \"float64\",\n  \"illness_m_r\": \"float64\",\n  \"injury_or_alc_m_r\": \"float64\",\n  \"visit_f_r\": \"float64\",\n  \"alcohol_any_f_r\": \"float64\",\n  \"injury_f_r\": \"float64\",\n  \"inj_by_self_f_r\": \"float64\",\n  \"inj_by_oth_f_r\": \"float64\",\n  \"inj_accident_f_r\": \"float64\",\n  \"illness_f_r\": \"float64\",\n  \"injury_or_alc_f_r\": \"float64\",\n  \"visit_f_np_r\": \"float64\",\n  \"alcohol_any_f_np_r\": \"float64\",\n  \"injury_f_np_r\": \"float64\",\n  \"inj_by_self_f_np_r\": \"float64\",\n  \"inj_by_oth_f_np_r\": \"float64\",\n  \"inj_accident_f_np_r\": \"float64\",\n  \"illness_f_np_r\": \"float64\",\n  \"injury_or_alc_f_np_r\": \"float64\",\n  \"visit_az_np_r\": \"float64\",\n  \"alcohol_any_az_np_r\": \"float64\",\n  \"injury_az_np_r\": \"float64\",\n  \"inj_by_self_az_np_r\": \"float64\",\n  \"inj_by_oth_az_np_r\": \"float64\",\n  \"inj_accident_az_np_r\": \"float64\",\n  \"illness_az_np_r\": \"float64\",\n  \"injury_or_alc_az_np_r\": \"float64\",\n  \"visit_ca_np_r\": \"float64\",\n  \"alcohol_any_ca_np_r\": \"float64\",\n  \"injury_ca_np_r\": \"float64\",\n  \"inj_by_self_ca_np_r\": \"float64\",\n  \"inj_by_oth_ca_np_r\": \"float64\",\n  \"inj_accident_ca_np_r\": \"float64\",\n  \"illness_ca_np_r\": \"float64\",\n  \"injury_or_alc_ca_np_r\": \"float64\",\n  \"visit_ia_np_r\": \"float64\",\n  \"alcohol_any_ia_np_r\": \"float64\",\n  \"injury_ia_np_r\": \"float64\",\n  \"inj_by_self_ia_np_r\": \"float64\",\n  \"inj_by_oth_ia_np_r\": \"float64\",\n  \"inj_accident_ia_np_r\": \"float64\",\n  \"illness_ia_np_r\": \"float64\",\n  \"injury_or_alc_ia_np_r\": \"float64\",\n  \"visit_nj_np_r\": \"float64\",\n  \"alcohol_any_nj_np_r\": \"float64\",\n  \"injury_nj_np_r\": \"float64\",\n  \"inj_by_self_nj_np_r\": \"float64\",\n  \"inj_by_oth_nj_np_r\": \"float64\",\n  \"inj_accident_nj_np_r\": \"float64\",\n  \"illness_nj_np_r\": \"float64\",\n  \"injury_or_alc_nj_np_r\": \"float64\",\n  \"visit_wi_np_r\": \"float64\",\n  \"alcohol_any_wi_np_r\": \"float64\",\n  \"injury_wi_np_r\": \"float64\",\n  \"inj_by_self_wi_np_r\": \"float64\",\n  \"inj_by_oth_wi_np_r\": \"float64\",\n  \"inj_accident_wi_np_r\": \"float64\",\n  \"illness_wi_np_r\": \"float64\",\n  \"injury_or_alc_wi_np_r\": \"float64\",\n  \"age_months\": \"float64\",\n  \"age_c\": \"float64\",\n  \"age_c_sq\": \"float64\",\n  \"over\": \"float64\",\n  \"age_c_post\": \"float64\",\n  \"age_c_post_sq\": \"float64\",\n  \"dummy21\": \"float64\"\n }\n}"}