Stay organized with collections
Save and categorize content based on your preferences.
Use Office to define an office and information associated with its contest. An
office is identified by its electoral district and its office role.
The Office element applies to all feed types but doesn't need to be specified
for a referenda. However, the definition of an office is interpreted differently
based on the feed type. In an election context, an Office represents the title
of the office that's sought, such as "Member of the House of Representatives."
In an officeholder context, it's a specific seat for a single person.
Select one of the following feed types to learn more about how to use Office
with that type of feed.
[[["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 2025-04-17 UTC."],[[["\u003cp\u003e\u003ccode\u003eOffice\u003c/code\u003e is used to define an office and related contest information, identified by electoral district and office role.\u003c/p\u003e\n"],["\u003cp\u003eWhile applicable to all feed types except referenda, \u003ccode\u003eOffice\u003c/code\u003e has context-dependent interpretations: representing an office title in elections and a specific seat in officeholder contexts.\u003c/p\u003e\n"],["\u003cp\u003eTo learn more, select from pre-election data feeds, election results feeds, or officeholder feeds for detailed usage information.\u003c/p\u003e\n"]]],[],null,["# Office\n\nUse `Office` to define an office and information associated with its contest. An\noffice is identified by its electoral district and its office role.\n\nThe `Office` element applies to all feed types but doesn't need to be specified\nfor a referenda. However, the definition of an office is interpreted differently\nbased on the feed type. In an election context, an `Office` represents the title\nof the office that's sought, such as \"Member of the House of Representatives.\"\nIn an officeholder context, it's a specific seat for a single person.\n\n*** ** * ** ***\n\nSelect one of the following feed types to learn more about how to use `Office`\nwith that type of feed. \nPre-election data feeds Election results feeds Officeholder feeds\n\n*** ** * ** ***"]]