Name: Join_Features_to_Mass_Election_Data
Display Field:
Type: Feature Layer
Geometry Type: esriGeometryPolygon
Description:
Copyright Text:
Min. Scale: 0
Max. Scale: 0
Default Visibility: true
Max Record Count: 2000
Supported query Formats: JSON, geoJSON, PBF
Use Standardized Queries: True
Extent:
XMin: -8182896.682
YMin: 5047622.9981
XMax: -7784294.4944
YMax: 5294755.5242
Spatial Reference: 102100 (3857)
Drawing Info:
{"renderer":{"visualVariables":[{"type":"sizeInfo","valueExpression":"$feature[\"ttl_clin\"];\n$feature[\"ttl_trump\"];\n$feature[\"ttl_othr\"];\nvar fieldNames = [ \"ttl_clin\", \"ttl_trump\", \"ttl_othr\" ];\nvar numFields = 3;\nvar value, i, totalValue = null;\nfor(i = 0; i < numFields; i++) {\nvalue = $feature[fieldNames[i]];\nif(value != null && value >= 0) {\nif (totalValue == null) { totalValue = 0; }\ntotalValue = totalValue + value;\n}\n}\nreturn totalValue;","valueUnit":"unknown","legendOptions":{"title":"Sum of categories","showLegend":false},"minSize":{"type":"sizeInfo","expression":"view.scale","valueExpression":"$view.scale","stops":[{"value":1128,"size":12},{"value":36111,"size":12},{"value":2311162,"size":4.5},{"value":591657528,"size":1.5}]},"maxSize":{"type":"sizeInfo","expression":"view.scale","valueExpression":"$view.scale","stops":[{"value":1128,"size":60},{"value":36111,"size":60},{"value":2311162,"size":37.5},{"value":591657528,"size":18.75}]},"minDataValue":99.99999999,"maxDataValue":100.00000001},{"type":"transparencyInfo","valueExpression":"$feature[\"ttl_clin\"];\n$feature[\"ttl_trump\"];\n$feature[\"ttl_othr\"];\nvar fieldNames = [ \"ttl_clin\", \"ttl_trump\", \"ttl_othr\" ];\nvar numFields = 3;\nvar maxValueField = null;\nvar maxValue = -Infinity;\nvar value, i, totalValue = null;\nfor(i = 0; i < numFields; i++) {\nvalue = $feature[fieldNames[i]];\nif(value > 0) {\nif(value > maxValue) {\nmaxValue = value;\nmaxValueField = fieldNames[i];\n}\nelse if (value == maxValue) {\nmaxValueField = null;\n}\n}\nif(value != null && value >= 0) {\nif (totalValue == null) { totalValue = 0; }\ntotalValue = totalValue + value;\n}\n}\nvar strength = null;\nif (maxValueField != null && totalValue > 0) {\nstrength = (maxValue / totalValue) * 100;\n}\nreturn strength;","stops":[{"value":0,"transparency":0},{"value":100,"transparency":0}],"legendOptions":{"title":"Strength of predominance","showLegend":false}}],"authoringInfo":{"type":"predominance","fields":["ttl_clin","ttl_trump","ttl_othr"],"visualVariables":[{"type":"transparencyInfo","minSliderValue":0,"maxSliderValue":100},{"type":"sizeInfo","minSliderValue":99.99999999,"maxSliderValue":100.00000001}]},"type":"uniqueValue","valueExpression":"$feature[\"ttl_clin\"];\n$feature[\"ttl_trump\"];\n$feature[\"ttl_othr\"];\nvar fieldNames = [ \"ttl_clin\", \"ttl_trump\", \"ttl_othr\" ];\nvar numFields = 3;\nvar maxValueField = null;\nvar maxValue = -Infinity;\nvar value, i, totalValue = null;\nfor(i = 0; i < numFields; i++) {\nvalue = $feature[fieldNames[i]];\nif(value > 0) {\nif(value > maxValue) {\nmaxValue = value;\nmaxValueField = fieldNames[i];\n}\nelse if (value == maxValue) {\nmaxValueField = null;\n}\n}\n}\nreturn maxValueField;","valueExpressionTitle":"Predominant category","uniqueValueInfos":[{"value":"ttl_clin","symbol":{"color":[0,92,230,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Clinton"},{"value":"ttl_trump","symbol":{"color":[255,0,0,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Trump"},{"value":"ttl_othr","symbol":{"color":[173,173,173,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"label":"Other"}],"backgroundFillSymbol":{"color":[0,0,0,0],"outline":{"color":[153,153,153,64],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"}},"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:
Type ID Field:
Fields:
- OBJECTID (type: esriFieldTypeOID, alias: OBJECTID, SQL Type: sqlTypeInteger, length: 0, nullable: false, editable: false)
- TOWN (type: esriFieldTypeString, alias: TOWN, SQL Type: sqlTypeNVarchar, length: 21, nullable: true, editable: true)
- Clinton_Ka (type: esriFieldTypeInteger, alias: Clinton_Ka, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Trump_Penc (type: esriFieldTypeInteger, alias: Trump_Penc, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Johnson_We (type: esriFieldTypeInteger, alias: Johnson_We, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Stein_Bara (type: esriFieldTypeInteger, alias: Stein_Bara, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Mcmullin_J (type: esriFieldTypeInteger, alias: Mcmullin_J, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Kotlikoff_ (type: esriFieldTypeInteger, alias: Kotlikoff_, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Feegbeh_O_ (type: esriFieldTypeInteger, alias: Feegbeh_O_, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Moorehead_ (type: esriFieldTypeInteger, alias: Moorehead_, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Schoenke_M (type: esriFieldTypeInteger, alias: Schoenke_M, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- All_Others (type: esriFieldTypeInteger, alias: All_Others, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- No_Prefere (type: esriFieldTypeInteger, alias: No_Prefere, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Blank_Vote (type: esriFieldTypeInteger, alias: Blank_Vote, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Total_Vote (type: esriFieldTypeInteger, alias: Total_Vote, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- City_Town (type: esriFieldTypeString, alias: City_Town, SQL Type: sqlTypeNVarchar, length: 254, nullable: true, editable: true)
- Shape__Area (type: esriFieldTypeDouble, alias: Shape__Area, SQL Type: sqlTypeDecimal, nullable: true, editable: true)
- Shape__Length (type: esriFieldTypeDouble, alias: Shape__Length, SQL Type: sqlTypeDecimal, nullable: true, editable: true)
- Clinton_Kaine (type: esriFieldTypeInteger, alias: Clinton_Kaine, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Trump_Pence (type: esriFieldTypeInteger, alias: Trump_Pence, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Johnson_Weld (type: esriFieldTypeInteger, alias: Johnson_Weld, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Stein_Baraka (type: esriFieldTypeInteger, alias: Stein_Baraka, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Mcmullin_Johnson (type: esriFieldTypeInteger, alias: Mcmullin_Johnson, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Kotlikoff_Leamer (type: esriFieldTypeInteger, alias: Kotlikoff_Leamer, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Feegbeh_O_Brien (type: esriFieldTypeInteger, alias: Feegbeh_O'Brien, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Moorehead_Lilly (type: esriFieldTypeInteger, alias: Moorehead_Lilly, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Schoenke_Mitchel (type: esriFieldTypeInteger, alias: Schoenke_Mitchel, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- All_Others_1 (type: esriFieldTypeInteger, alias: All_Others 1, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- No_Preference (type: esriFieldTypeInteger, alias: No_Preference, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Blank_Votes (type: esriFieldTypeInteger, alias: Blank_Votes, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- Total_Votes_Cast (type: esriFieldTypeInteger, alias: Total_Votes_Cast, SQL Type: sqlTypeInteger, nullable: true, editable: true)
- ttl_clin (type: esriFieldTypeDouble, alias: ttl_clin, SQL Type: sqlTypeDecimal, nullable: true, editable: true)
- ttl_trump (type: esriFieldTypeDouble, alias: ttl_trump, SQL Type: sqlTypeDecimal, nullable: true, editable: true)
- ttl_othr (type: esriFieldTypeDouble, alias: ttl_othr, SQL Type: sqlTypeDecimal, nullable: true, editable: true)
Templates:
Name: New Feature
Description:
Drawing Tool: esriFeatureEditToolPolygon
Prototype:
Is Data Versioned: false
Has Contingent Values: false
Supports Rollback On Failure Parameter: true
Last Edit Date: 2/18/2019 6:08:26 PM
Schema Last Edit Date: 2/18/2019 6:08:26 PM
Data Last Edit Date: 2/18/2019 6:08:26 PM
Supported Operations:
Query
Query Pivot
Query Top Features
Query Analytic
Query Bins
Generate Renderer
Validate SQL
Get Estimates
ConvertFormat