AI-generated Key Takeaways
-
The resource represents a political geographic division, providing details such as its name, Open Civic Data identifier (ocdId), and any alternative identifiers (aliases).
-
The division's
ocdId
is a unique identifier, whilename
displays the division's name, andaliases
might include other identifiers referring to the same or related divisions. -
This resource offers access to two key methods:
search
, which allows searching for political divisions by name or OCD ID, anddivisionsByAddress
, which identifies political divisions associated with a specific address.
For a list of methods for this resource, see the end of this page.
Resource representations
Represents a political geographic division that matches the requested query.
{ "ocdId": string, "name": string, "aliases": [ string ] }
Property name | Value | Description | Notes |
---|---|---|---|
aliases[] |
list |
Other Open Civic Data identifiers that refer to the same division -- for example, those that refer to other political divisions whose boundaries are defined to be coterminous with this one. For example, ocd-division/country:us/state:wy will include an alias of ocd-division/country:us/state:wy/cd:1, since Wyoming has only one Congressional district. | |
name |
string |
The name of the division. | |
ocdId |
string |
The unique Open Civic Data identifier for this division. |
Methods
- search
- Searches for political divisions by their natural name or OCD ID.
- divisionsByAddress
- Looks up political geographic divisions for a single address.