Resolve a place name to a geoid
resolve_placeResolve a place name to its state, county, or school-district geoid for use with get_data. Returns ranked candidates so you pick the correct grain before querying.
Instructions
Find the state, county, or school-district geoid used by get_data.
Returns ranked candidates and does NOT auto-pick: ~30 states have a "Washington County", and a silently wrong pick is indistinguishable from a right one once it reaches a number. Name the place and geoid you chose in your answer. When candidates span geo levels (a county and a district of the same name), ASK — they are different grains with different coverage, so the wrong pick changes what is answerable, not just the number.
For every place in a state, skip this and use get_data(state="12").
Args: name: Place name — "Cook County", "Illinois", "Chicago Public Schools". District names are official NCES names. geo_level: "state", "county", or "district".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| geo_level | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |