Divisions
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-25 UTC."],[[["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, while `name` displays the division's name, and `aliases` 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, and `divisionsByAddress`, which identifies political divisions associated with a specific address."]]],[]]