# Clean dataset codebook — v1.0.0 Primary file: `data/nba_draft_pathways_clean.csv` Unit of observation: one actual NBA draft selection. Primary key: `(draft_year, pick)`. | Field | Type | Definition | | --- | --- | --- | | `draft_year` | integer | NBA draft year, 2016–2026. | | `pick` | integer | Overall selection number; forfeited slots are excluded. | | `round` | integer | 1 for picks 1–30; 2 otherwise. | | `player_name` | text | Drafted player name with table-footnote symbols removed. | | `drafting_team_name` | text | Franchise that announced the selection; a later trade destination is not substituted. | | `drafting_team_abbr` | text | Standard three-letter franchise abbreviation. | | `prior_org_name` | text | Canonical full college, club, league, school, or academy name immediately before the draft. | | `prior_org_short` | text | Common basketball label for the prior organization. | | `prior_org_type` | category | `ncaa`, `international_club`, `g_league`, `high_school_or_prep`, or `alternative_academy`. | | `prior_org_country` | text | Country of the prior organization. | | `high_school_finish` | text | Finishing U.S. secondary/prep program; blank when there was no U.S. high-school pathway. | | `hs_city` | text | Campus city for the finishing school. | | `hs_state` | text | Two-letter U.S. state code or international label. | | `hs_country` | text | United States or non-U.S. pathway label. | | `school_type` | category | `public`, `local_private`, `elite_prep`, or `international`. | | `school_type_method` | text | Curation/classification method. | | `high_school_missing_reason` | category | `no_us_high_school_pathway` identifies a structural, not-applicable blank. | | `ambiguity_flag` | text | Reserved for a contested classification. | | `notes` | text | Supporting pathway details and caveats. | | `quality_flags` | text | Semicolon-delimited unresolved issues; empty for all v1.0.0 rows. | | `hs_source` | text | High-school attribution lineage. | | `draft_source_url` | URL | Draft-order source. | | `prior_source_url` | URL | Prior school/club source. | | `bbref_player_url` | URL | Original Basketball-Reference player source when available. | ## Missingness Blank finishing-school values accompanied by `high_school_missing_reason=no_us_high_school_pathway` are structurally not applicable. Optional notes, ambiguity flags, and legacy Basketball-Reference URLs may be blank. The highly sparse income fields are deliberately excluded from the core table.