Regen all docs. (#700)
* Stop recursing if discovery == {}
* Generate docs with 'make docs'.
diff --git a/docs/dyn/civicinfo_v2.elections.html b/docs/dyn/civicinfo_v2.elections.html
index 224a01c..ecd2cfd 100644
--- a/docs/dyn/civicinfo_v2.elections.html
+++ b/docs/dyn/civicinfo_v2.elections.html
@@ -109,7 +109,7 @@
Args:
address: string, The registered address of the voter to look up. (required)
- electionId: string, The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/elections
+ electionId: string, The unique ID of the election to look up. A list of election IDs can be obtained at https://www.googleapis.com/civicinfo/{version}/electionsIf no election ID is specified in the query and there is more than one election with data for the given voter, the additional elections are provided in the otherElections response field.
returnAllAvailableData: boolean, If set to true, the query will return the success codeand include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries.
officialOnly: boolean, If set to true, only data from official state sources will be returned.
@@ -125,6 +125,7 @@
"name": "A String", # The name of the early vote site or drop off location. This field is not populated for polling locations.
"notes": "A String", # Notes about this location (e.g. accessibility ramp or entrance to use).
"voterServices": "A String", # The services provided by this early vote site or drop off location. This field is not populated for polling locations.
+ "longitude": 3.14, # Longitude of the location, in degrees east of the Prime Meridian. Only some locations -- generally, ballot drop boxes for vote-by-mail elections -- will have this set; for others, use a geocoding service like the Google Maps API to resolve the address to a geographic point.
"sources": [ # A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.
{ # Contains information about the data source for the element containing it.
"official": True or False, # Whether this data comes from an official government source.
@@ -140,6 +141,7 @@
"locationName": "A String", # The name of the location.
"state": "A String", # The US two letter state abbreviation of the address.
},
+ "latitude": 3.14, # Latitude of the location, in degrees north of the equator. Only some locations -- generally, ballot drop boxes for vote-by-mail elections -- will have this set; for others, use a geocoding service like the Google Maps API to resolve the address to a geographic point.
"id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.
},
],
@@ -151,6 +153,7 @@
"name": "A String", # The name of the early vote site or drop off location. This field is not populated for polling locations.
"notes": "A String", # Notes about this location (e.g. accessibility ramp or entrance to use).
"voterServices": "A String", # The services provided by this early vote site or drop off location. This field is not populated for polling locations.
+ "longitude": 3.14, # Longitude of the location, in degrees east of the Prime Meridian. Only some locations -- generally, ballot drop boxes for vote-by-mail elections -- will have this set; for others, use a geocoding service like the Google Maps API to resolve the address to a geographic point.
"sources": [ # A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.
{ # Contains information about the data source for the element containing it.
"official": True or False, # Whether this data comes from an official government source.
@@ -166,10 +169,11 @@
"locationName": "A String", # The name of the location.
"state": "A String", # The US two letter state abbreviation of the address.
},
+ "latitude": 3.14, # Latitude of the location, in degrees north of the equator. Only some locations -- generally, ballot drop boxes for vote-by-mail elections -- will have this set; for others, use a geocoding service like the Google Maps API to resolve the address to a geographic point.
"id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.
},
],
- "otherElections": [ # If no election ID was specified in the query, and there was more than one election with data for the given voter, this will contain information about the other elections that could apply.
+ "otherElections": [ # When there are multiple elections for a voter address, the otherElections field is populated in the API response and there are two possibilities: 1. If the earliest election is not the intended election, specify the election ID of the desired election in a second API request using the electionId field. 2. If these elections occur on the same day, the API doesn?t return any polling location, contest, or election official information to ensure that an additional query is made. For user-facing applications, we recommend displaying these elections to the user to disambiguate. A second API request using the electionId field should be made for the election that is relevant to the user.
{ # Information about the election that was queried.
"ocdDivisionId": "A String", # The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us).
"electionDay": "A String", # Day of the election in YYYY-MM-DD format.
@@ -177,6 +181,122 @@
"name": "A String", # A displayable name for the election.
},
],
+ "segments": [
+ {
+ "targetsmartUniquePrecinctCode": "A String",
+ "stateSenateDistrict": "A String",
+ "precinctName": "A String",
+ "startLatE7": "A String",
+ "judicialDistrict": "A String",
+ "municipalDistrict": "A String",
+ "stateHouseDistrict": "A String",
+ "voterGeographicDivisionOcdIds": [
+ "A String",
+ ],
+ "cityCouncilDistrict": "A String",
+ "id": "A String",
+ "precinctOcdId": "A String",
+ "catalistUniquePrecinctCode": "A String",
+ "city": "A String",
+ "startHouseNumber": "A String",
+ "contestIds": [
+ "A String",
+ ],
+ "surrogateId": "A String",
+ "startLngE7": "A String",
+ "subAdministrativeAreaName": "A String",
+ "state": "A String",
+ "streetName": "A String",
+ "geocodedPoint": {
+ "lngE7": 42,
+ "temporaryData": {
+ "recordMessageSetExt": {
+ "numberOfTriples": "A String",
+ "isRecon": True or False,
+ "expId": "A String",
+ "subscriberReceiveMsec": "A String",
+ "shouldMonitorLatency": True or False,
+ "process": "A String",
+ "topicBuildFinishMsec": "A String",
+ "expInfo": {
+ "deletedIns": [
+ "A String",
+ ],
+ },
+ "priority": "A String",
+ "recordId": "A String",
+ "version": "A String",
+ "isWlmThrottled": True or False,
+ "topicBuildStartMsec": "A String",
+ "proxyReceiveMsec": "A String",
+ "dataSourcePublishMsec": "A String",
+ "proxySentMsec": "A String",
+ },
+ },
+ "latE7": 42,
+ "metadata": {
+ "internal": {
+ "isAuto": True or False,
+ "sourceSummary": {
+ "provider": "A String",
+ "dataset": "A String",
+ },
+ },
+ },
+ },
+ "congressionalDistrict": "A String",
+ "geographicDivisionOcdIds": [
+ "A String",
+ ],
+ "administrationRegionIds": [
+ "A String",
+ ],
+ "oddOrEvens": [
+ "A String",
+ ],
+ "mailOnly": True or False,
+ "earlyVoteSiteByIds": [
+ "A String",
+ ],
+ "pollinglocationByIds": [
+ "A String",
+ ],
+ "townshipDistrict": "A String",
+ "schoolDistrict": "A String",
+ "provenances": [
+ {
+ "collidedSegmentSource": {
+ "segments": [
+ # Object with schema name: StreetSegment
+ ],
+ },
+ "tsStreetSegmentId": "A String",
+ "vip5StreetSegmentId": "A String",
+ "precinctId": "A String",
+ "datasetId": "A String",
+ "ctclContestUuid": "A String",
+ "vip5PrecinctId": "A String",
+ "vipStreetSegmentId": "A String",
+ "precinctSplitId": "A String",
+ "ctclOfficeUuid": "A String",
+ },
+ ],
+ "countyCouncilDistrict": "A String",
+ "datasetId": "A String",
+ "endHouseNumber": "A String",
+ "beforeGeocodeId": "A String",
+ "countyFips": "A String",
+ "zip": "A String",
+ "originalId": "A String",
+ "unitType": "A String",
+ "vanPrecinctCode": "A String",
+ "unitNumber": "A String",
+ "wildcard": True or False,
+ "published": True or False,
+ "wardDistrict": "A String",
+ "ncoaAddress": "A String",
+ },
+ ],
"mailOnly": True or False, # Specifies whether voters in the precinct vote only by mailing their ballots (with the possible option of dropping off their ballots as well).
"kind": "civicinfo#voterInfoResponse", # Identifies what kind of resource this is. Value: the fixed string "civicinfo#voterInfoResponse".
"normalizedInput": { # A simple representation of an address. # The normalized version of the requested address
@@ -260,6 +380,7 @@
"name": "A String", # The name of the early vote site or drop off location. This field is not populated for polling locations.
"notes": "A String", # Notes about this location (e.g. accessibility ramp or entrance to use).
"voterServices": "A String", # The services provided by this early vote site or drop off location. This field is not populated for polling locations.
+ "longitude": 3.14, # Longitude of the location, in degrees east of the Prime Meridian. Only some locations -- generally, ballot drop boxes for vote-by-mail elections -- will have this set; for others, use a geocoding service like the Google Maps API to resolve the address to a geographic point.
"sources": [ # A list of sources for this location. If multiple sources are listed the data has been aggregated from those sources.
{ # Contains information about the data source for the element containing it.
"official": True or False, # Whether this data comes from an official government source.
@@ -275,6 +396,7 @@
"locationName": "A String", # The name of the location.
"state": "A String", # The US two letter state abbreviation of the address.
},
+ "latitude": 3.14, # Latitude of the location, in degrees north of the equator. Only some locations -- generally, ballot drop boxes for vote-by-mail elections -- will have this set; for others, use a geocoding service like the Google Maps API to resolve the address to a geographic point.
"id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page.
},
],
@@ -325,6 +447,7 @@
"referendumText": "A String", # The full text of the referendum. This field is only populated for contests of type 'Referendum'.
"referendumConStatement": "A String", # A statement in opposition to the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'.
"referendumPassageThreshold": "A String", # The threshold of votes that the referendum needs in order to pass, e.g. "two-thirds". This field is only populated for contests of type 'Referendum'.
+ "ballotTitle": "A String", # The official title on the ballot for this contest, only where available.
"numberVotingFor": "A String", # The number of candidates that a voter may vote for in this contest.
"roles": [ # The roles which this office fulfills.
"A String",