OpenElections logo

Towards an Open Standard for Political Jurisdictions

When we started OpenElections, one of our goals was to make sure that we used a common set of identifiers that users could rely on in the data we produce. For political jurisdictions like states and counties, that usually has meant using Federal Information Processing Standards codes, or FIPS. These are five-digit numbers assigned to individual states, counties and other locations. In the drafting of our election metadata and results formats, however, we've proposed adopting the Open Civic Data Division Identifiers, an open source project that seeks "to provide somewhat predictable and globally unique identifiers for political divisions of all kinds."

One reason for doing so is that the identifiers are more descriptive than FIPS codes, including both machine and human-readable representations of states and other jurisdictions. For example, here's North Carolina's 2nd Congressional District:

ocd-division/country:us/state:nc/cd:2

Or, at a more local level, here is Washington D.C.'s Ward 8:

ocd-division/country:us/district:dc/ward:8

Another reason to use these identifiers, as you can see, is that the OCD Division Identifiers could support data beyond the United States. While OpenElections is only focused on the results of American elections, to the extent that others may want to extend our formats to other countries it shouldn't require large-scale changes to do so. We've had some great discussions of other aspects of our formats on our Google Group, and we welcome your input as we work towards releasing the second version of our election metadata and results data formats. Join in!