Name: Election_2016_Results
Display Field:
Type: Feature Layer
Geometry Type: esriGeometryPoint
Is View: true
Is Updatable View: true
Source Schema Changes Allowed: true
Sources
Description:
Copyright Text:
Min. Scale: 73957191
Max. Scale: 0
Default Visibility: true
Max Record Count: 2000
Supported query Formats: JSON, geoJSON, PBF
Use Standardized Queries: True
Extent:
XMin: -13840226.6248
YMin: 2837976.4214
XMax: -7510113.0724
YMax: 6253676.1546
Spatial Reference: 102100 (3857)
Drawing Info:
{"renderer":{"visualVariables":[{"valueExpression":"// Rotate data based on the percent gap\n// between the two candidates. Arrows pointing\n// to the left completely voted for Jim (Bald party) \n// candidate. Arrows pointing to the right completely\n// voted for Euan (Hair party). Arrow pointing\n// straight up indicate a close race.\n\nvar total = $feature.PRS_DEM_16 + \n $feature.PRS_REP_16 + \n $feature.PRS_OTH_16;\n\nvar percentGap = \n (($feature.PRS_REP_16 - $feature.PRS_DEM_16) / total) * 100;\n\nvar normalizedRotation = 0.9 * percentGap;\n\nreturn round(normalizedRotation,1);","valueExpressionTitle":"Percent Gap","rotationType":"geographic","type":"rotationInfo"},{"type":"sizeInfo","field":null,"valueExpression":"// Write a script that returns a value that will be used to draw features.\n// For example, find the percentage of males:\n// Round(($feature.MalePop / $feature.TotalPop) * 100, 2)\n\n$feature.PRS_DEM_16+$feature.PRS_OTH_16+$feature.PRS_REP_16","valueExpressionTitle":"Total votes","valueUnit":"unknown","minSize":6,"maxSize":37.5,"minDataValue":0,"maxDataValue":2488626}],"authoringInfo":{"visualVariables":[{"type":"sizeInfo","minSliderValue":0,"maxSliderValue":6636335}]},"type":"uniqueValue","field1":null,"valueExpression":"if ($feature.PRS_REP_16>$feature.PRS_DEM_16) {\n return \"Euan (Hair party)\";\n} else {\n return \"Jim (Bald party)\";\n}","valueExpressionTitle":"Leading vote getter","uniqueValueInfos":[{"value":"Euan (Hair party)","symbol":{"angle":0,"xoffset":0,"yoffset":0,"type":"esriPMS","url":"b0f20faa-4086-406b-b5e6-10ece183c776","imageData":"iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAA4ElEQVRIS+2UwQ2DMAxFbbUDMAojNNeqSNmgZZLSScoIkah6zQqMwgCt0kRwQJRgJxI3c0TYT/bzByHzsbq6hVJlujanBeYUWX0uEQ421Dr4KmXefWqfZLDVukD4eCiWI8z1Do4eboYUeAa4an3RdQFpT6ardwMHrx76XAM4gDrFN3vimdciMtmQ4psF/vcaWyrfNxO86jVGZ/kmwVteo3MzfG+CGV5jbNI3OfGys9WXBgHv8/cO3EOZV7NbnEJjAY//a1k1fWZy1eSOJE4SJ/JIpg8kTuSmJE4SJ/JIpg9+6qvPH/4ndkIAAAAASUVORK5CYII=","contentType":"image/png","width":6,"height":6},"label":"Euan (Hair party)"},{"value":"Jim (Bald party)","symbol":{"angle":0,"xoffset":0,"yoffset":0,"type":"esriPMS","url":"768fa198-d1ec-4a97-94c2-114d3efda8b3","imageData":"iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAA5ElEQVRIS+2UyQ2DQAxFbdIApdACmnNQOkiohKGSUEKWaxAtUAoNBIdBKMrC4DESN3NE2E/28wdh5bO39cmV3q2p1rTANUUH2yQEfeNqEaL0YtNW2kcMHqAxwbMBxGSEEbUIOwfvJHAxOCsfFQIevyAE1dWafDOw8xohnOcAPUEu8R088dsrQjw7GUEn8R0E/vPq26nAdxB41qsXHuabBS959bFDfC+CWa/+qVnf7MS/vbOytkNR8fmeAMpbYexmcXKNFTz+NXXVAVemV80uSeOkcWKPZPpA48RuSuOkcWKPZPrgBQbkwx+ke5zgAAAAAElFTkSuQmCC","contentType":"image/png","width":6,"height":6},"label":"Jim (Bald party)"}]},"transparency":0}
HasZ: false
HasM: false
Has Attachments: false
Has Geometry Properties: false
HTML Popup Type: esriServerHTMLPopupTypeNone
Object ID Field: OBJECTID
Unique ID Field:
IsSystemMaintained : True
Global ID Field: GlobalID
Type ID Field:
Fields:
- OBJECTID (type: esriFieldTypeInteger, alias: OBJECTID, SQL Type: sqlTypeOther, length: 0, nullable: false, editable: false)
- STATE_NAME (type: esriFieldTypeString, alias: STATE_NAME, SQL Type: sqlTypeOther, length: 20, nullable: true, editable: true)
- Name_1 (type: esriFieldTypeString, alias: Name_1, SQL Type: sqlTypeOther, length: 255, nullable: true, editable: true)
- PRS_DEM_16 (type: esriFieldTypeDouble, alias: PRS_DEM_16, SQL Type: sqlTypeOther, nullable: true, editable: true)
- PRS_REP_16 (type: esriFieldTypeDouble, alias: PRS_REP_16, SQL Type: sqlTypeOther, nullable: true, editable: true)
- PRS_OTH_16 (type: esriFieldTypeDouble, alias: PRS_OTH_16, SQL Type: sqlTypeOther, nullable: true, editable: true)
- GlobalID (type: esriFieldTypeGlobalID, alias: GlobalID, SQL Type: sqlTypeOther, length: 38, nullable: false, editable: false)
Types:
ID: Euan (Hair party)
Name: Euan (Hair party)
Domains:
Templates:
Name: Euan (Hair party)
Description:
Drawing Tool: esriFeatureEditToolNone
Prototype:
ID: Jim (Bald party)
Name: Jim (Bald party)
Domains:
Templates:
Name: Jim (Bald party)
Description:
Drawing Tool: esriFeatureEditToolNone
Prototype:
Is Data Versioned: false
Has Contingent Values: false
Supports Rollback On Failure Parameter: true
Last Edit Date: 3/9/2017 12:42:13 AM
Schema Last Edit Date: 3/9/2017 12:42:13 AM
Data Last Edit Date: 3/9/2017 12:42:13 AM
Supported Operations:
Query
Query Top Features
Query Analytic
Query Bins
Generate Renderer
Validate SQL
Get Estimates
ConvertFormat