Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 98.60 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <link rel="stylesheet" type="text/css" href="http://docs.handsontable.com/pro/bower_components/handsontable-pro/dist/handsontable.full.min.css">
  5. <link rel="stylesheet" type="text/css" href="http://handsontable.com/static/css/main.css">
  6. <script src="http://docs.handsontable.com/pro/bower_components/handsontable-pro/dist/handsontable.full.min.js"></script>
  7. </head>
  8. <body>
  9.     <div id="hot"></div>
  10.     <script type="text/javascript">
  11.     //http://polling.reuters.com/api/1.4/polling/json/mean?dimension=TM651Y15_DS_13&timeseries=day&timeseries_columns=bucket-id,bucket-label,low,mean,high,count,weight,count-sum,weight-sum&filter=LIKELY:1&daterange=20160601-20161002&account=trpoll&auth=1eeb6846e5f8be86
  12.         var total = {"status": "ok", "response": {"sample_size": 15043, "timeseries_type": "day", "available_timeseries": ["day", "week", "month"], "questions": [{"high": 42.3, "count": 6419.200000000001, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Hillary Clinton (Democrat)", "answer_code": 2, "label": "Hillary Clinton (Democrat)"}}], "low": 40.7, "weight": 5912.313119999999, "timeseries": {"array": [[1664, "2016-07-22", 33.0, 39.0, 46.0, 96, 89.5989, 254, 229.5213], [1665, "2016-07-23", 34.8, 39.2, 43.7, 195, 185.0715, 518, 472.5182], [1666, "2016-07-24", 37.5, 41.2, 45.1, 295, 282.1467, 746, 683.9922], [1667, "2016-07-25", 37.7, 40.9, 44.2, 403, 379.9917, 1006, 928.6279999999999], [1668, "2016-07-26", 38.1, 41.1, 44.1, 474, 444.2669, 1172, 1081.4251000000002], [1669, "2016-07-27", 39.0, 42.0, 45.0, 487, 466.4017, 1169, 1110.9490999999998], [1670, "2016-07-28", 38.5, 41.5, 44.6, 494, 458.7627, 1151, 1105.438], [1671, "2016-07-29", 38.7, 41.6, 44.5, 562, 511.8063, 1278, 1231.7737], [1672, "2016-07-30", 40.4, 43.3, 46.3, 573, 516.2466, 1243, 1191.8294999999998], [1673, "2016-07-31", 41.1, 43.9, 46.8, 604, 548.1246, 1307, 1247.4884], [1674, "2016-08-01", 40.1, 42.9, 45.8, 593, 525.9081, 1290, 1225.2413000000001], [1675, "2016-08-02", 41.0, 43.9, 46.8, 596, 536.5024, 1284, 1221.3529999999998], [1676, "2016-08-03", 40.3, 43.3, 46.4, 519, 470.0103, 1143, 1085.2222], [1677, "2016-08-04", 38.6, 41.6, 44.6, 499, 458.2352, 1153, 1102.4375], [1678, "2016-08-05", 38.2, 41.1, 44.1, 531, 475.9806, 1197, 1158.0363], [1679, "2016-08-06", 39.7, 42.7, 45.7, 531, 484.2398, 1176, 1135.2285], [1680, "2016-08-07", 39.5, 42.6, 45.7, 506, 461.3373, 1119, 1083.4654], [1681, "2016-08-08", 39.1, 42.1, 45.2, 521, 473.2021, 1154, 1122.7115999999999], [1682, "2016-08-09", 39.5, 42.5, 45.6, 538, 484.1085, 1168, 1138.3342], [1683, "2016-08-10", 38.2, 41.3, 44.4, 488, 442.6606, 1102, 1071.5271], [1684, "2016-08-11", 38.2, 41.2, 44.3, 488, 448.9323, 1116, 1089.5876], [1685, "2016-08-12", 38.6, 41.6, 44.6, 504, 474.4451, 1168, 1141.6202], [1686, "2016-08-13", 38.3, 41.3, 44.4, 484, 461.7305, 1138, 1118.5082], [1687, "2016-08-14", 39.5, 42.6, 45.7, 481, 464.3371, 1110, 1090.742], [1688, "2016-08-15", 38.4, 41.4, 44.5, 471, 452.3988, 1132, 1092.7117], [1689, "2016-08-16", 38.2, 41.2, 44.3, 460, 448.961, 1130, 1090.1506000000002], [1690, "2016-08-17", 38.0, 41.1, 44.2, 455, 441.2221, 1106, 1074.6391], [1691, "2016-08-18", 39.2, 42.3, 45.4, 470, 453.6682, 1119, 1072.9944], [1692, "2016-08-19", 38.2, 41.3, 44.4, 456, 430.0996, 1105, 1041.607], [1693, "2016-08-20", 41.2, 44.3, 47.4, 480, 450.1663, 1092, 1016.6717], [1694, "2016-08-21", 41.5, 44.6, 47.8, 488, 438.4943, 1078, 983.1373], [1695, "2016-08-22", 41.7, 44.8, 47.9, 500, 451.0918, 1115, 1008.0201], [1696, "2016-08-23", 40.6, 43.7, 46.8, 491, 438.6874, 1133, 1003.9088], [1697, "2016-08-24", 39.0, 42.0, 45.1, 485, 429.4852, 1150, 1023.1705000000001], [1698, "2016-08-25", 38.4, 41.4, 44.5, 488, 434.0972, 1154, 1047.7194], [1699, "2016-08-26", 37.1, 39.9, 42.8, 546, 484.7828, 1330, 1214.7316], [1700, "2016-08-27", 36.1, 38.9, 41.7, 542, 466.6815, 1326, 1199.3915], [1701, "2016-08-28", 36.2, 39.0, 41.9, 549, 469.4958, 1322, 1203.3104999999998], [1702, "2016-08-29", 36.7, 39.4, 42.3, 550, 478.5824, 1358, 1213.3500999999999], [1703, "2016-08-30", 35.3, 38.0, 40.8, 533, 458.5995, 1357, 1205.8653], [1704, "2016-08-31", 36.4, 39.3, 42.3, 483, 420.3514, 1194, 1069.8965], [1705, "2016-09-01", 36.6, 39.6, 42.6, 473, 422.5048, 1171, 1067.8932], [1706, "2016-09-02", 37.3, 40.3, 43.4, 454, 424.1293, 1131, 1052.6668], [1707, "2016-09-03", 37.5, 40.5, 43.7, 460, 431.5715, 1092, 1064.7822], [1708, "2016-09-04", 38.2, 41.3, 44.5, 465, 437.607, 1090, 1058.9633000000001], [1709, "2016-09-05", 36.7, 39.7, 42.9, 443, 423.5033, 1083, 1065.9529], [1710, "2016-09-06", 38.3, 41.4, 44.6, 438, 430.0405, 1084, 1038.2088], [1711, "2016-09-07", 37.2, 40.3, 43.4, 447, 425.7757, 1101, 1057.4313], [1712, "2016-09-08", 37.2, 40.2, 43.3, 438, 419.0715, 1106, 1042.3463000000002], [1713, "2016-09-09", 34.3, 37.3, 40.4, 436, 401.5323, 1085, 1077.2381], [1714, "2016-09-10", 35.9, 39.0, 42.1, 451, 419.9809, 1098, 1077.6578], [1715, "2016-09-11", 36.7, 39.7, 42.8, 462, 428.5695, 1122, 1080.1866], [1716, "2016-09-12", 37.1, 40.2, 43.3, 461, 432.0539, 1125, 1075.8778], [1717, "2016-09-13", 39.5, 42.5, 45.6, 498, 464.5778, 1158, 1092.5072], [1718, "2016-09-14", 40.6, 43.6, 46.7, 507, 466.8641, 1162, 1071.0909000000001], [1719, "2016-09-15", 39.8, 42.8, 45.9, 495, 460.6071, 1155, 1075.3346999999999], [1720, "2016-09-16", 40.7, 43.8, 46.9, 497, 475.3467, 1127, 1085.1300999999999], [1721, "2016-09-17", 39.4, 42.5, 45.6, 496, 466.5711, 1137, 1098.8903], [1722, "2016-09-18", 36.9, 40.0, 43.1, 458, 427.1904, 1087, 1068.4484], [1723, "2016-09-19", 36.1, 39.1, 42.2, 462, 420.8508, 1110, 1075.2484], [1724, "2016-09-20", 36.4, 39.4, 42.4, 474, 427.1467, 1130, 1085.2116], [1725, "2016-09-21", 37.1, 40.1, 43.2, 465, 432.1706, 1121, 1076.4777], [1726, "2016-09-22", 39.2, 42.3, 45.5, 468, 442.7515, 1098, 1046.3923], [1727, "2016-09-23", 39.3, 42.4, 45.5, 495, 437.4449, 1122, 1032.8897], [1728, "2016-09-24", 40.9, 44.1, 47.3, 483, 450.6348, 1076, 1022.5518000000001], [1729, "2016-09-25", 42.5, 45.7, 48.9, 479, 462.8867, 1044, 1013.5848], [1730, "2016-09-26", 41.0, 44.2, 47.5, 482, 439.2694, 1041, 992.9426]], "type": "day"}, "count-sum": 15043, "weight-sum": 14244.952060000001, "plus-minus": 1.7, "mean": 41.5}, {"high": 8.7, "count": 1179.9999999999998, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Refused", "answer_code": 5, "short-label": "Refused", "label": "Refused"}}], "low": 7.7, "weight": 1166.0079400000004, "timeseries": {"array": [[1664, "2016-07-22", 2.6, 4.7, 8.5, 14, 10.889, 254, 229.5213], [1665, "2016-07-23", 4.6, 6.5, 9.2, 40, 30.8156, 518, 472.5182], [1666, "2016-07-24", 4.9, 6.6, 8.8, 58, 45.2532, 746, 683.9922], [1667, "2016-07-25", 6.1, 7.7, 9.6, 80, 71.3546, 1006, 928.6279999999999], [1668, "2016-07-26", 6.6, 8.1, 9.9, 96, 87.3277, 1172, 1081.4251000000002], [1669, "2016-07-27", 7.4, 9.0, 10.9, 107, 99.6533, 1169, 1110.9490999999998], [1670, "2016-07-28", 8.6, 10.3, 12.4, 111, 114.0392, 1151, 1105.438], [1671, "2016-07-29", 9.3, 11.0, 13.0, 120, 136.0926, 1278, 1231.7737], [1672, "2016-07-30", 9.0, 10.7, 12.7, 117, 128.0464, 1243, 1191.8294999999998], [1673, "2016-07-31", 8.0, 9.6, 11.5, 113, 119.9501, 1307, 1247.4884], [1674, "2016-08-01", 7.5, 9.0, 10.8, 103, 110.108, 1290, 1225.2413000000001], [1675, "2016-08-02", 5.7, 7.0, 8.7, 84, 85.8534, 1284, 1221.3529999999998], [1676, "2016-08-03", 4.8, 6.1, 7.8, 70, 66.4206, 1143, 1085.2222], [1677, "2016-08-04", 4.8, 6.2, 7.8, 70, 68.0982, 1153, 1102.4375], [1678, "2016-08-05", 5.9, 7.3, 9.0, 75, 84.2807, 1197, 1158.0363], [1679, "2016-08-06", 5.5, 6.9, 8.7, 71, 78.8003, 1176, 1135.2285], [1680, "2016-08-07", 6.6, 8.2, 10.1, 79, 88.6139, 1119, 1083.4654], [1681, "2016-08-08", 6.5, 8.0, 9.8, 81, 89.664, 1154, 1122.7115999999999], [1682, "2016-08-09", 7.2, 8.8, 10.7, 87, 99.8516, 1168, 1138.3342], [1683, "2016-08-10", 6.7, 8.3, 10.2, 83, 88.9027, 1102, 1071.5271], [1684, "2016-08-11", 7.1, 8.7, 10.7, 89, 94.9324, 1116, 1089.5876], [1685, "2016-08-12", 6.4, 7.9, 9.7, 86, 89.6405, 1168, 1141.6202], [1686, "2016-08-13", 6.9, 8.5, 10.4, 92, 95.0695, 1138, 1118.5082], [1687, "2016-08-14", 6.5, 8.0, 9.9, 88, 87.353, 1110, 1090.742], [1688, "2016-08-15", 6.6, 8.2, 10.0, 95, 89.1627, 1132, 1092.7117], [1689, "2016-08-16", 6.5, 8.0, 9.9, 95, 87.3403, 1130, 1090.1506000000002], [1690, "2016-08-17", 7.4, 9.0, 11.0, 98, 96.9869, 1106, 1074.6391], [1691, "2016-08-18", 8.4, 10.1, 12.2, 107, 108.5625, 1119, 1072.9944], [1692, "2016-08-19", 8.4, 10.1, 12.2, 108, 105.5995, 1105, 1041.607], [1693, "2016-08-20", 8.5, 10.2, 12.3, 114, 103.9991, 1092, 1016.6717], [1694, "2016-08-21", 9.3, 11.1, 13.3, 118, 109.4579, 1078, 983.1373], [1695, "2016-08-22", 9.1, 10.9, 13.0, 121, 109.8764, 1115, 1008.0201], [1696, "2016-08-23", 7.9, 9.5, 11.5, 113, 95.7614, 1133, 1003.9088], [1697, "2016-08-24", 7.6, 9.3, 11.2, 107, 95.0239, 1150, 1023.1705000000001], [1698, "2016-08-25", 7.1, 8.6, 10.5, 97, 90.4771, 1154, 1047.7194], [1699, "2016-08-26", 7.8, 9.4, 11.2, 121, 113.9577, 1330, 1214.7316], [1700, "2016-08-27", 6.8, 8.2, 9.9, 112, 98.4553, 1326, 1199.3915], [1701, "2016-08-28", 6.7, 8.1, 9.8, 113, 97.4767, 1322, 1203.3104999999998], [1702, "2016-08-29", 6.3, 7.6, 9.3, 112, 92.7116, 1358, 1213.3500999999999], [1703, "2016-08-30", 6.4, 7.8, 9.5, 108, 93.9432, 1357, 1205.8653], [1704, "2016-08-31", 4.5, 5.8, 7.4, 75, 61.7994, 1194, 1069.8965], [1705, "2016-09-01", 5.7, 7.1, 8.9, 86, 75.9376, 1171, 1067.8932], [1706, "2016-09-02", 5.2, 6.6, 8.4, 79, 69.8761, 1131, 1052.6668], [1707, "2016-09-03", 5.1, 6.5, 8.2, 76, 69.0178, 1092, 1064.7822], [1708, "2016-09-04", 4.5, 5.9, 7.6, 72, 62.2159, 1090, 1058.9633000000001], [1709, "2016-09-05", 5.3, 6.7, 8.5, 80, 71.7655, 1083, 1065.9529], [1710, "2016-09-06", 5.6, 7.0, 8.9, 69, 73.0824, 1084, 1038.2088], [1711, "2016-09-07", 6.0, 7.5, 9.3, 72, 79.1947, 1101, 1057.4313], [1712, "2016-09-08", 6.4, 7.9, 9.8, 73, 82.6404, 1106, 1042.3463000000002], [1713, "2016-09-09", 7.4, 9.1, 11.1, 87, 98.1741, 1085, 1077.2381], [1714, "2016-09-10", 7.4, 9.0, 11.0, 83, 97.1821, 1098, 1077.6578], [1715, "2016-09-11", 7.6, 9.3, 11.2, 88, 99.9563, 1122, 1080.1866], [1716, "2016-09-12", 6.9, 8.5, 10.4, 83, 91.3373, 1125, 1075.8778], [1717, "2016-09-13", 7.3, 8.9, 10.9, 97, 97.6614, 1158, 1092.5072], [1718, "2016-09-14", 6.3, 7.8, 9.6, 83, 83.4907, 1162, 1071.0909000000001], [1719, "2016-09-15", 5.5, 6.9, 8.7, 78, 74.6329, 1155, 1075.3346999999999], [1720, "2016-09-16", 5.1, 6.5, 8.2, 72, 70.6591, 1127, 1085.1300999999999], [1721, "2016-09-17", 5.6, 7.1, 8.8, 76, 77.7801, 1137, 1098.8903], [1722, "2016-09-18", 5.6, 7.1, 8.9, 67, 75.6904, 1087, 1068.4484], [1723, "2016-09-19", 5.9, 7.4, 9.3, 78, 79.853, 1110, 1075.2484], [1724, "2016-09-20", 7.1, 8.7, 10.6, 89, 94.4758, 1130, 1085.2116], [1725, "2016-09-21", 7.1, 8.7, 10.7, 91, 94.0719, 1121, 1076.4777], [1726, "2016-09-22", 6.8, 8.4, 10.3, 90, 88.0852, 1098, 1046.3923], [1727, "2016-09-23", 6.4, 8.0, 9.8, 86, 82.1322, 1122, 1032.8897], [1728, "2016-09-24", 6.2, 7.7, 9.6, 77, 79.2216, 1076, 1022.5518000000001], [1729, "2016-09-25", 5.3, 6.8, 8.6, 68, 68.7827, 1044, 1013.5848], [1730, "2016-09-26", 5.7, 7.2, 9.1, 72, 71.5204, 1041, 992.9426]], "type": "day"}, "count-sum": 15043, "weight-sum": 14244.952060000001, "plus-minus": 0.9, "mean": 8.2}, {"high": 9.7, "count": 1581.5999999999995, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Other", "answer_code": 3, "short-label": "Other", "label": "Other"}}], "low": 8.7, "weight": 1313.5977600000003, "timeseries": {"array": [[1664, "2016-07-22", 3.0, 5.3, 9.1, 17, 12.0699, 254, 229.5213], [1665, "2016-07-23", 5.5, 7.6, 10.4, 45, 35.8362, 518, 472.5182], [1666, "2016-07-24", 5.3, 7.1, 9.3, 59, 48.2272, 746, 683.9922], [1667, "2016-07-25", 5.8, 7.3, 9.2, 84, 67.8205, 1006, 928.6279999999999], [1668, "2016-07-26", 6.2, 7.7, 9.5, 104, 83.5583, 1172, 1081.4251000000002], [1669, "2016-07-27", 6.3, 7.8, 9.6, 109, 86.5762, 1169, 1110.9490999999998], [1670, "2016-07-28", 6.4, 7.9, 9.7, 102, 87.4041, 1151, 1105.438], [1671, "2016-07-29", 6.8, 8.2, 10.0, 119, 101.395, 1278, 1231.7737], [1672, "2016-07-30", 7.0, 8.5, 10.3, 116, 101.6822, 1243, 1191.8294999999998], [1673, "2016-07-31", 7.2, 8.7, 10.4, 119, 108.0051, 1307, 1247.4884], [1674, "2016-08-01", 7.3, 8.9, 10.7, 118, 108.4407, 1290, 1225.2413000000001], [1675, "2016-08-02", 6.8, 8.2, 10.0, 120, 100.535, 1284, 1221.3529999999998], [1676, "2016-08-03", 7.2, 8.8, 10.8, 120, 95.9113, 1143, 1085.2222], [1677, "2016-08-04", 7.1, 8.7, 10.6, 124, 96.012, 1153, 1102.4375], [1678, "2016-08-05", 7.9, 9.5, 11.4, 139, 110.179, 1197, 1158.0363], [1679, "2016-08-06", 8.8, 10.6, 12.6, 140, 119.8012, 1176, 1135.2285], [1680, "2016-08-07", 9.7, 11.6, 13.7, 141, 125.4016, 1119, 1083.4654], [1681, "2016-08-08", 9.5, 11.3, 13.4, 136, 126.5303, 1154, 1122.7115999999999], [1682, "2016-08-09", 9.3, 11.1, 13.2, 133, 126.6817, 1168, 1138.3342], [1683, "2016-08-10", 8.7, 10.4, 12.5, 123, 111.8722, 1102, 1071.5271], [1684, "2016-08-11", 8.8, 10.6, 12.7, 124, 115.5044, 1116, 1089.5876], [1685, "2016-08-12", 8.4, 10.1, 12.1, 122, 114.9037, 1168, 1141.6202], [1686, "2016-08-13", 8.2, 9.9, 11.9, 124, 111.0195, 1138, 1118.5082], [1687, "2016-08-14", 7.9, 9.6, 11.6, 117, 104.4617, 1110, 1090.742], [1688, "2016-08-15", 8.9, 10.7, 12.7, 128, 116.5577, 1132, 1092.7117], [1689, "2016-08-16", 8.2, 9.9, 11.9, 128, 108.0614, 1130, 1090.1506000000002], [1690, "2016-08-17", 7.9, 9.6, 11.7, 130, 103.587, 1106, 1074.6391], [1691, "2016-08-18", 7.5, 9.1, 11.1, 127, 97.9504, 1119, 1072.9944], [1692, "2016-08-19", 7.2, 8.9, 10.8, 130, 92.3163, 1105, 1041.607], [1693, "2016-08-20", 6.1, 7.6, 9.5, 117, 77.7459, 1092, 1016.6717], [1694, "2016-08-21", 6.3, 7.9, 9.8, 114, 77.6475, 1078, 983.1373], [1695, "2016-08-22", 6.5, 8.1, 10.0, 110, 81.6538, 1115, 1008.0201], [1696, "2016-08-23", 7.4, 9.0, 10.9, 116, 90.2665, 1133, 1003.9088], [1697, "2016-08-24", 7.6, 9.2, 11.2, 114, 94.4356, 1150, 1023.1705000000001], [1698, "2016-08-25", 6.9, 8.5, 10.3, 106, 88.7099, 1154, 1047.7194], [1699, "2016-08-26", 6.5, 7.9, 9.6, 119, 95.6708, 1330, 1214.7316], [1700, "2016-08-27", 6.8, 8.3, 10.0, 127, 99.5618, 1326, 1199.3915], [1701, "2016-08-28", 7.0, 8.5, 10.2, 124, 101.7953, 1322, 1203.3104999999998], [1702, "2016-08-29", 7.3, 8.8, 10.5, 136, 106.5891, 1358, 1213.3500999999999], [1703, "2016-08-30", 8.2, 9.8, 11.6, 155, 117.5762, 1357, 1205.8653], [1704, "2016-08-31", 8.9, 10.6, 12.7, 144, 113.7851, 1194, 1069.8965], [1705, "2016-09-01", 8.8, 10.5, 12.5, 140, 112.0252, 1171, 1067.8932], [1706, "2016-09-02", 8.5, 10.3, 12.3, 140, 108.3468, 1131, 1052.6668], [1707, "2016-09-03", 9.1, 10.9, 13.1, 134, 116.5851, 1092, 1064.7822], [1708, "2016-09-04", 8.2, 9.9, 12.0, 125, 104.8998, 1090, 1058.9633000000001], [1709, "2016-09-05", 9.4, 11.2, 13.4, 136, 119.8855, 1083, 1065.9529], [1710, "2016-09-06", 10.0, 11.9, 14.1, 133, 123.4018, 1084, 1038.2088], [1711, "2016-09-07", 9.3, 11.1, 13.3, 130, 117.5669, 1101, 1057.4313], [1712, "2016-09-08", 9.4, 11.2, 13.4, 132, 116.9526, 1106, 1042.3463000000002], [1713, "2016-09-09", 7.8, 9.5, 11.6, 122, 102.7056, 1085, 1077.2381], [1714, "2016-09-10", 7.0, 8.7, 10.6, 113, 93.2231, 1098, 1077.6578], [1715, "2016-09-11", 7.4, 9.0, 11.0, 121, 97.2357, 1122, 1080.1866], [1716, "2016-09-12", 7.8, 9.4, 11.4, 126, 101.4361, 1125, 1075.8778], [1717, "2016-09-13", 7.0, 8.6, 10.5, 123, 93.61, 1158, 1092.5072], [1718, "2016-09-14", 7.2, 8.8, 10.7, 127, 93.7827, 1162, 1071.0909000000001], [1719, "2016-09-15", 6.8, 8.4, 10.2, 122, 89.7953, 1155, 1075.3346999999999], [1720, "2016-09-16", 7.1, 8.7, 10.7, 112, 94.6924, 1127, 1085.1300999999999], [1721, "2016-09-17", 7.0, 8.6, 10.5, 104, 94.3319, 1137, 1098.8903], [1722, "2016-09-18", 7.4, 9.1, 11.1, 99, 96.9519, 1087, 1068.4484], [1723, "2016-09-19", 8.2, 10.0, 12.0, 105, 107.3197, 1110, 1075.2484], [1724, "2016-09-20", 9.2, 11.0, 13.1, 119, 119.6258, 1130, 1085.2116], [1725, "2016-09-21", 8.1, 9.8, 11.9, 121, 106.0197, 1121, 1076.4777], [1726, "2016-09-22", 7.5, 9.2, 11.2, 119, 96.352, 1098, 1046.3923], [1727, "2016-09-23", 7.0, 8.6, 10.5, 119, 88.8931, 1122, 1032.8897], [1728, "2016-09-24", 5.6, 7.1, 8.9, 111, 72.8201, 1076, 1022.5518000000001], [1729, "2016-09-25", 4.9, 6.3, 8.1, 99, 64.1679, 1044, 1013.5848], [1730, "2016-09-26", 5.7, 7.2, 9.1, 96, 71.6228, 1041, 992.9426]], "type": "day"}, "count-sum": 15043, "weight-sum": 14244.952060000001, "plus-minus": 1.0, "mean": 9.2}, {"high": 37.8, "count": 5353.000000000002, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Donald Trump (Republican)", "answer_code": 1, "label": "Donald Trump (Republican)"}}], "low": 36.1, "weight": 5263.534480000001, "timeseries": {"array": [[1664, "2016-07-22", 38.0, 45.0, 52.0, 114, 103.0276, 254, 229.5213], [1665, "2016-07-23", 36.4, 40.8, 45.4, 212, 192.8538, 518, 472.5182], [1666, "2016-07-24", 35.3, 39.0, 42.8, 296, 266.7957, 746, 683.9922], [1667, "2016-07-25", 35.3, 38.4, 41.7, 389, 356.7026, 1006, 928.6279999999999], [1668, "2016-07-26", 34.6, 37.5, 40.5, 441, 405.995, 1172, 1081.4251000000002], [1669, "2016-07-27", 33.2, 36.1, 39.0, 415, 400.5257, 1169, 1110.9490999999998], [1670, "2016-07-28", 32.2, 35.1, 38.1, 395, 388.1446, 1151, 1105.438], [1671, "2016-07-29", 31.5, 34.2, 37.0, 424, 421.442, 1278, 1231.7737], [1672, "2016-07-30", 30.4, 33.1, 36.0, 393, 395.0842, 1243, 1191.8294999999998], [1673, "2016-07-31", 31.4, 34.1, 36.9, 429, 425.2545, 1307, 1247.4884], [1674, "2016-08-01", 31.6, 34.3, 37.1, 429, 420.1943, 1290, 1225.2413000000001], [1675, "2016-08-02", 33.4, 36.1, 39.0, 439, 441.1982, 1284, 1221.3529999999998], [1676, "2016-08-03", 35.0, 37.9, 41.0, 401, 411.4261, 1143, 1085.2222], [1677, "2016-08-04", 36.1, 39.1, 42.1, 423, 430.7104, 1153, 1102.4375], [1678, "2016-08-05", 35.1, 38.0, 41.0, 417, 440.1742, 1197, 1158.0363], [1679, "2016-08-06", 34.0, 36.9, 39.9, 403, 418.4133, 1176, 1135.2285], [1680, "2016-08-07", 31.6, 34.5, 37.6, 365, 374.1284, 1119, 1083.4654], [1681, "2016-08-08", 31.9, 34.8, 37.8, 383, 390.7346, 1154, 1122.7115999999999], [1682, "2016-08-09", 31.4, 34.2, 37.2, 378, 389.3063, 1168, 1138.3342], [1683, "2016-08-10", 32.8, 35.8, 38.8, 368, 383.2479, 1102, 1071.5271], [1684, "2016-08-11", 32.6, 35.6, 38.6, 372, 387.7757, 1116, 1089.5876], [1685, "2016-08-12", 33.3, 36.2, 39.2, 407, 413.5784, 1168, 1141.6202], [1686, "2016-08-13", 33.3, 36.2, 39.2, 390, 404.887, 1138, 1118.5082], [1687, "2016-08-14", 32.5, 35.5, 38.5, 377, 386.7355, 1110, 1090.742], [1688, "2016-08-15", 32.3, 35.2, 38.2, 393, 384.3203, 1132, 1092.7117], [1689, "2016-08-16", 33.3, 36.3, 39.3, 408, 395.199, 1130, 1090.1506000000002], [1690, "2016-08-17", 33.0, 36.0, 39.0, 390, 386.3653, 1106, 1074.6391], [1691, "2016-08-18", 31.3, 34.2, 37.3, 380, 367.4883, 1119, 1072.9944], [1692, "2016-08-19", 32.1, 35.1, 38.1, 374, 365.1172, 1105, 1041.607], [1693, "2016-08-20", 31.0, 34.0, 37.0, 346, 345.3445, 1092, 1016.6717], [1694, "2016-08-21", 29.9, 32.8, 35.9, 320, 322.6812, 1078, 983.1373], [1695, "2016-08-22", 30.0, 32.8, 35.8, 344, 331.0185, 1115, 1008.0201], [1696, "2016-08-23", 30.8, 33.7, 36.7, 368, 338.2456, 1133, 1003.9088], [1697, "2016-08-24", 32.2, 35.0, 38.0, 396, 358.5987, 1150, 1023.1705000000001], [1698, "2016-08-25", 33.2, 36.1, 39.1, 410, 378.3352, 1154, 1047.7194], [1699, "2016-08-26", 35.0, 37.7, 40.5, 489, 458.2551, 1330, 1214.7316], [1700, "2016-08-27", 36.5, 39.3, 42.1, 493, 471.1403, 1326, 1199.3915], [1701, "2016-08-28", 36.5, 39.3, 42.1, 487, 472.9109, 1322, 1203.3104999999998], [1702, "2016-08-29", 36.7, 39.5, 42.3, 514, 479.1409, 1358, 1213.3500999999999], [1703, "2016-08-30", 37.6, 40.3, 43.1, 523, 486.3346, 1357, 1205.8653], [1704, "2016-08-31", 37.5, 40.5, 43.5, 460, 432.9891, 1194, 1069.8965], [1705, "2016-09-01", 36.4, 39.3, 42.3, 437, 419.6734, 1171, 1067.8932], [1706, "2016-09-02", 37.2, 40.2, 43.3, 430, 423.1021, 1131, 1052.6668], [1707, "2016-09-03", 35.2, 38.2, 41.3, 392, 406.68, 1092, 1064.7822], [1708, "2016-09-04", 35.7, 38.8, 41.9, 395, 410.7284, 1090, 1058.9633000000001], [1709, "2016-09-05", 35.0, 38.1, 41.2, 387, 405.7784, 1083, 1065.9529], [1710, "2016-09-06", 31.4, 34.4, 37.5, 410, 356.8118, 1084, 1038.2088], [1711, "2016-09-07", 32.8, 35.8, 38.8, 415, 378.214, 1101, 1057.4313], [1712, "2016-09-08", 34.1, 37.1, 40.2, 432, 386.9694, 1106, 1042.3463000000002], [1713, "2016-09-09", 37.9, 41.0, 44.2, 411, 441.9461, 1085, 1077.2381], [1714, "2016-09-10", 37.2, 40.3, 43.4, 426, 434.2469, 1098, 1077.6578], [1715, "2016-09-11", 36.3, 39.3, 42.4, 428, 424.8561, 1122, 1080.1866], [1716, "2016-09-12", 36.0, 39.0, 42.1, 430, 419.8284, 1125, 1075.8778], [1717, "2016-09-13", 34.0, 36.9, 40.0, 411, 403.6305, 1158, 1092.5072], [1718, "2016-09-14", 34.0, 36.9, 40.0, 415, 395.7051, 1162, 1071.0909000000001], [1719, "2016-09-15", 35.6, 38.5, 41.6, 424, 414.2766, 1155, 1075.3346999999999], [1720, "2016-09-16", 34.2, 37.2, 40.2, 405, 403.1267, 1127, 1085.1300999999999], [1721, "2016-09-17", 35.2, 38.1, 41.2, 422, 418.894, 1137, 1098.8903], [1722, "2016-09-18", 36.9, 39.9, 43.1, 422, 426.7579, 1087, 1068.4484], [1723, "2016-09-19", 36.1, 39.1, 42.2, 422, 420.2024, 1110, 1075.2484], [1724, "2016-09-20", 33.6, 36.5, 39.6, 407, 396.4782, 1130, 1085.2116], [1725, "2016-09-21", 34.2, 37.2, 40.3, 408, 400.4068, 1121, 1076.4777], [1726, "2016-09-22", 33.1, 36.0, 39.1, 386, 377.1665, 1098, 1046.3923], [1727, "2016-09-23", 33.9, 36.9, 39.9, 387, 380.6916, 1122, 1032.8897], [1728, "2016-09-24", 34.5, 37.6, 40.7, 374, 384.1948, 1076, 1022.5518000000001], [1729, "2016-09-25", 35.2, 38.3, 41.4, 371, 387.7229, 1044, 1013.5848], [1730, "2016-09-26", 34.9, 38.0, 41.2, 363, 377.7627, 1041, 992.9426]], "type": "day"}, "count-sum": 15043, "weight-sum": 14244.952060000001, "plus-minus": 1.6, "mean": 37.0}, {"high": 4.5, "count": 510.00000000000006, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Would not vote", "answer_code": 4, "short-label": "Would not vote", "label": "Would not vote"}}], "low": 3.8, "weight": 589.4987600000001, "timeseries": {"array": [[1664, "2016-07-22", 3.6, 6.1, 10.1, 13, 13.9359, 254, 229.5213], [1665, "2016-07-23", 4.1, 5.9, 8.5, 26, 27.9411, 518, 472.5182], [1666, "2016-07-24", 4.5, 6.1, 8.2, 38, 41.5694, 746, 683.9922], [1667, "2016-07-25", 4.3, 5.7, 7.4, 50, 52.7586, 1006, 928.6279999999999], [1668, "2016-07-26", 4.3, 5.6, 7.2, 57, 60.2772, 1172, 1081.4251000000002], [1669, "2016-07-27", 4.0, 5.2, 6.7, 51, 57.7922, 1169, 1110.9490999999998], [1670, "2016-07-28", 4.0, 5.2, 6.7, 49, 57.0874, 1151, 1105.438], [1671, "2016-07-29", 3.8, 5.0, 6.4, 53, 61.0378, 1278, 1231.7737], [1672, "2016-07-30", 3.2, 4.3, 5.6, 44, 50.7701, 1243, 1191.8294999999998], [1673, "2016-07-31", 2.7, 3.7, 5.0, 42, 46.1541, 1307, 1247.4884], [1674, "2016-08-01", 3.8, 4.9, 6.4, 47, 60.5902, 1290, 1225.2413000000001], [1675, "2016-08-02", 3.6, 4.7, 6.1, 45, 57.264, 1284, 1221.3529999999998], [1676, "2016-08-03", 2.8, 3.8, 5.2, 33, 41.4539, 1143, 1085.2222], [1677, "2016-08-04", 3.4, 4.5, 5.9, 37, 49.3817, 1153, 1102.4375], [1678, "2016-08-05", 3.0, 4.1, 5.5, 35, 47.4218, 1197, 1158.0363], [1679, "2016-08-06", 2.1, 3.0, 4.2, 31, 33.9739, 1176, 1135.2285], [1680, "2016-08-07", 2.2, 3.1, 4.4, 28, 33.9842, 1119, 1083.4654], [1681, "2016-08-08", 2.8, 3.8, 5.2, 33, 42.5806, 1154, 1122.7115999999999], [1682, "2016-08-09", 2.4, 3.4, 4.7, 32, 38.3861, 1168, 1138.3342], [1683, "2016-08-10", 3.1, 4.2, 5.6, 40, 44.8437, 1102, 1071.5271], [1684, "2016-08-11", 2.8, 3.9, 5.3, 43, 42.4428, 1116, 1089.5876], [1685, "2016-08-12", 3.2, 4.3, 5.7, 49, 49.0525, 1168, 1141.6202], [1686, "2016-08-13", 3.0, 4.1, 5.5, 48, 45.8017, 1138, 1118.5082], [1687, "2016-08-14", 3.3, 4.4, 5.9, 47, 47.8547, 1110, 1090.742], [1688, "2016-08-15", 3.5, 4.6, 6.1, 45, 50.2722, 1132, 1092.7117], [1689, "2016-08-16", 3.5, 4.6, 6.1, 39, 50.5889, 1130, 1090.1506000000002], [1690, "2016-08-17", 3.2, 4.3, 5.8, 33, 46.4778, 1106, 1074.6391], [1691, "2016-08-18", 3.1, 4.2, 5.7, 35, 45.325, 1119, 1072.9944], [1692, "2016-08-19", 3.5, 4.7, 6.2, 37, 48.4744, 1105, 1041.607], [1693, "2016-08-20", 2.8, 3.9, 5.3, 35, 39.4159, 1092, 1016.6717], [1694, "2016-08-21", 2.5, 3.5, 4.9, 38, 34.8564, 1078, 983.1373], [1695, "2016-08-22", 2.4, 3.4, 4.8, 40, 34.3796, 1115, 1008.0201], [1696, "2016-08-23", 3.0, 4.1, 5.5, 45, 40.9479, 1133, 1003.9088], [1697, "2016-08-24", 3.3, 4.5, 5.9, 48, 45.6271, 1150, 1023.1705000000001], [1698, "2016-08-25", 4.1, 5.4, 6.9, 53, 56.1, 1154, 1047.7194], [1699, "2016-08-26", 4.0, 5.1, 6.5, 55, 62.0652, 1330, 1214.7316], [1700, "2016-08-27", 4.1, 5.3, 6.7, 52, 63.5526, 1326, 1199.3915], [1701, "2016-08-28", 4.0, 5.1, 6.6, 49, 61.6318, 1322, 1203.3104999999998], [1702, "2016-08-29", 3.6, 4.6, 6.0, 46, 56.3261, 1358, 1213.3500999999999], [1703, "2016-08-30", 3.1, 4.1, 5.4, 38, 49.4118, 1357, 1205.8653], [1704, "2016-08-31", 2.8, 3.8, 5.2, 32, 40.9715, 1194, 1069.8965], [1705, "2016-09-01", 2.6, 3.5, 4.9, 35, 37.7522, 1171, 1067.8932], [1706, "2016-09-02", 1.8, 2.6, 3.8, 28, 27.2125, 1131, 1052.6668], [1707, "2016-09-03", 2.8, 3.8, 5.3, 30, 40.9278, 1092, 1064.7822], [1708, "2016-09-04", 3.0, 4.1, 5.6, 33, 43.5122, 1090, 1058.9633000000001], [1709, "2016-09-05", 3.1, 4.2, 5.7, 37, 45.0202, 1083, 1065.9529], [1710, "2016-09-06", 4.0, 5.3, 6.9, 34, 54.8723, 1084, 1038.2088], [1711, "2016-09-07", 4.1, 5.4, 7.0, 37, 56.68, 1101, 1057.4313], [1712, "2016-09-08", 2.5, 3.5, 4.9, 31, 36.7124, 1106, 1042.3463000000002], [1713, "2016-09-09", 2.1, 3.1, 4.4, 29, 32.88, 1085, 1077.2381], [1714, "2016-09-10", 2.1, 3.1, 4.4, 25, 33.0248, 1098, 1077.6578], [1715, "2016-09-11", 1.9, 2.7, 4.0, 23, 29.569, 1122, 1080.1866], [1716, "2016-09-12", 2.0, 2.9, 4.2, 25, 31.2221, 1125, 1075.8778], [1717, "2016-09-13", 2.1, 3.0, 4.3, 29, 33.0275, 1158, 1092.5072], [1718, "2016-09-14", 2.0, 2.9, 4.2, 30, 31.2483, 1162, 1071.0909000000001], [1719, "2016-09-15", 2.4, 3.3, 4.7, 36, 36.0228, 1155, 1075.3346999999999], [1720, "2016-09-16", 2.8, 3.8, 5.2, 41, 41.3052, 1127, 1085.1300999999999], [1721, "2016-09-17", 2.7, 3.8, 5.1, 39, 41.3132, 1137, 1098.8903], [1722, "2016-09-18", 2.9, 3.9, 5.4, 41, 41.8578, 1087, 1068.4484], [1723, "2016-09-19", 3.3, 4.4, 5.9, 43, 47.0225, 1110, 1075.2484], [1724, "2016-09-20", 3.3, 4.4, 5.8, 41, 47.4851, 1130, 1085.2116], [1725, "2016-09-21", 3.0, 4.1, 5.5, 36, 43.8087, 1121, 1076.4777], [1726, "2016-09-22", 2.9, 4.0, 5.5, 35, 42.0371, 1098, 1046.3923], [1727, "2016-09-23", 3.1, 4.2, 5.7, 35, 43.7279, 1122, 1032.8897], [1728, "2016-09-24", 2.5, 3.5, 4.9, 31, 35.6805, 1076, 1022.5518000000001], [1729, "2016-09-25", 2.0, 3.0, 4.3, 27, 30.0246, 1044, 1013.5848], [1730, "2016-09-26", 2.3, 3.3, 4.7, 28, 32.7673, 1041, 992.9426]], "type": "day"}, "count-sum": 15043, "weight-sum": 14244.952060000001, "plus-minus": 0.7, "mean": 4.1}], "unfiltered_sample_size": 22973}, "created": "2016-09-30 00:49:57.106487"};
  13.  
  14.  
  15.    
  16. //http://polling.reuters.com/api/1.4/polling/json/mean?dimension=TM651Y15_DS_13&timeseries=day&timeseries_columns=bucket-id,bucket-label,low,mean,high,count,weight,count-sum,weight-sum&filter=LIKELY:1&filter=PARTY_ID_:1&daterange=20160601-20161007&account=trpoll&auth=1eeb6846e5f8be86
  17.             var totalDemocrats = {"status": "ok", "response": {"sample_size": 6800, "timeseries_type": "day", "available_timeseries": ["day", "week", "month"], "questions": [{"high": 81.2, "count": 5549.8, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Hillary Clinton (Democrat)", "answer_code": 2, "label": "Hillary Clinton (Democrat)"}}], "low": 79.2, "weight": 5095.075459999997, "timeseries": {"array": [[1664, "2016-07-22", 61.0, 71.0, 79.0, 85, 80.1913, 110, 112.6422], [1665, "2016-07-23", 67.0, 74.0, 80.0, 160, 150.8713, 210, 204.1653], [1666, "2016-07-24", 72.5, 77.8, 82.3, 249, 237.6319, 316, 305.32840000000004], [1667, "2016-07-25", 73.7, 78.2, 82.1, 339, 314.287, 426, 401.852], [1668, "2016-07-26", 74.5, 78.6, 82.2, 400, 367.7289, 502, 468.039], [1669, "2016-07-27", 76.3, 80.3, 83.7, 410, 385.597, 509, 480.46020000000004], [1670, "2016-07-28", 76.3, 80.2, 83.6, 427, 390.3807, 520, 486.8214], [1671, "2016-07-29", 76.1, 79.8, 83.1, 484, 435.4731, 583, 545.701], [1672, "2016-07-30", 77.2, 80.8, 83.9, 504, 448.53, 598, 555.1426], [1673, "2016-07-31", 78.8, 82.2, 85.2, 528, 478.2164, 622, 581.789], [1674, "2016-08-01", 77.5, 81.0, 84.1, 521, 458.3125, 620, 565.8418], [1675, "2016-08-02", 77.7, 81.2, 84.3, 518, 464.724, 621, 572.1866], [1676, "2016-08-03", 76.8, 80.6, 83.9, 447, 398.6116, 546, 494.6084], [1677, "2016-08-04", 74.1, 78.1, 81.6, 426, 389.2338, 530, 498.3288], [1678, "2016-08-05", 75.3, 79.1, 82.5, 464, 411.2104, 566, 519.7471], [1679, "2016-08-06", 79.8, 83.4, 86.5, 461, 419.0589, 544, 502.3055], [1680, "2016-08-07", 79.4, 83.1, 86.3, 444, 402.1679, 524, 483.9491999999999], [1681, "2016-08-08", 77.4, 81.2, 84.4, 462, 423.7402, 555, 522.1422], [1682, "2016-08-09", 75.7, 79.5, 82.8, 474, 432.3381, 575, 543.7983], [1683, "2016-08-10", 73.9, 77.9, 81.5, 422, 389.026, 520, 499.1654], [1684, "2016-08-11", 70.3, 74.4, 78.2, 424, 396.3881, 542, 532.5211], [1685, "2016-08-12", 70.7, 74.8, 78.4, 441, 419.922, 558, 561.6999000000001], [1686, "2016-08-13", 72.3, 76.4, 80.0, 425, 408.8675, 535, 535.2213], [1687, "2016-08-14", 76.8, 80.7, 84.1, 419, 402.7993, 510, 499.1015], [1688, "2016-08-15", 75.2, 79.2, 82.7, 414, 393.787, 514, 497.06829999999997], [1689, "2016-08-16", 77.2, 81.1, 84.5, 407, 392.3797, 499, 483.73519999999996], [1690, "2016-08-17", 79.0, 82.9, 86.2, 399, 382.187, 484, 461.1074], [1691, "2016-08-18", 77.5, 81.5, 84.8, 408, 386.6132, 496, 474.58840000000004], [1692, "2016-08-19", 75.3, 79.4, 83.0, 390, 364.2094, 489, 458.68100000000004], [1693, "2016-08-20", 77.6, 81.5, 84.8, 409, 382.5003, 507, 469.3718], [1694, "2016-08-21", 77.6, 81.5, 84.9, 412, 371.3968, 504, 455.6298], [1695, "2016-08-22", 77.7, 81.6, 84.9, 422, 379.1655, 516, 464.83880000000005], [1696, "2016-08-23", 76.7, 80.6, 84.0, 418, 373.8629, 513, 463.64680000000004], [1697, "2016-08-24", 75.8, 79.7, 83.2, 425, 373.971, 520, 468.97139999999996], [1698, "2016-08-25", 75.5, 79.5, 82.9, 428, 376.8133, 524, 474.177], [1699, "2016-08-26", 74.2, 78.0, 81.3, 471, 414.8645, 593, 532.1083000000001], [1700, "2016-08-27", 72.7, 76.5, 80.0, 465, 400.1407, 587, 522.7796999999999], [1701, "2016-08-28", 74.1, 77.9, 81.2, 473, 403.4475, 587, 518.1582], [1702, "2016-08-29", 74.3, 78.1, 81.4, 471, 413.401, 590, 529.5614], [1703, "2016-08-30", 73.3, 77.2, 80.7, 451, 393.4568, 567, 509.76989999999995], [1704, "2016-08-31", 75.8, 79.8, 83.3, 413, 360.6048, 503, 451.9395], [1705, "2016-09-01", 75.7, 79.8, 83.3, 408, 368.3712, 503, 461.895], [1706, "2016-09-02", 75.9, 79.9, 83.5, 388, 368.1705, 486, 460.5023], [1707, "2016-09-03", 75.8, 79.9, 83.5, 391, 367.1426, 483, 459.26730000000003], [1708, "2016-09-04", 75.4, 79.5, 83.0, 400, 374.492, 496, 471.3079], [1709, "2016-09-05", 73.5, 77.7, 81.4, 382, 364.162, 485, 468.5476], [1710, "2016-09-06", 73.2, 77.5, 81.2, 381, 375.526, 478, 484.7186], [1711, "2016-09-07", 73.4, 77.6, 81.3, 392, 375.0552, 488, 483.3387], [1712, "2016-09-08", 75.0, 79.1, 82.7, 386, 375.1514, 486, 473.99950000000007], [1713, "2016-09-09", 76.1, 80.2, 83.7, 387, 355.0062, 485, 442.60099999999994], [1714, "2016-09-10", 76.3, 80.3, 83.8, 398, 366.3872, 495, 456.3117], [1715, "2016-09-11", 74.0, 78.1, 81.7, 403, 368.3416, 510, 471.52420000000006], [1716, "2016-09-12", 74.4, 78.5, 82.1, 394, 364.8244, 502, 464.56510000000003], [1717, "2016-09-13", 75.2, 79.2, 82.7, 422, 386.3374, 524, 487.9559], [1718, "2016-09-14", 76.6, 80.5, 83.9, 429, 388.5331, 527, 482.6838], [1719, "2016-09-15", 77.3, 81.2, 84.5, 417, 383.9351, 514, 472.931], [1720, "2016-09-16", 79.9, 83.7, 86.8, 416, 397.3789, 504, 474.9646], [1721, "2016-09-17", 81.0, 84.7, 87.8, 418, 391.0356, 495, 461.6712], [1722, "2016-09-18", 81.6, 85.4, 88.5, 393, 369.9727, 464, 433.3664], [1723, "2016-09-19", 80.7, 84.5, 87.7, 401, 367.2005, 472, 434.39660000000003], [1724, "2016-09-20", 79.1, 83.0, 86.3, 417, 379.2449, 491, 456.97610000000003], [1725, "2016-09-21", 80.1, 83.9, 87.1, 409, 381.7458, 480, 455.04409999999996], [1726, "2016-09-22", 80.0, 83.8, 87.0, 415, 396.0754, 489, 472.7451], [1727, "2016-09-23", 79.7, 83.5, 86.6, 433, 377.2613, 518, 452.03970000000004], [1728, "2016-09-24", 79.4, 83.2, 86.4, 418, 385.7395, 502, 463.4308], [1729, "2016-09-25", 82.6, 86.2, 89.1, 417, 397.9582, 491, 461.9072], [1730, "2016-09-26", 80.6, 84.4, 87.5, 424, 382.2193, 501, 453.10540000000003]], "type": "day"}, "count-sum": 6800, "weight-sum": 6354.097579999998, "plus-minus": 2.0, "mean": 80.2}, {"high": 4.8, "count": 259.4000000000001, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Refused", "answer_code": 5, "short-label": "Refused", "label": "Refused"}}], "low": 3.7, "weight": 268.29028, "timeseries": {"array": [[1664, "2016-07-22", 0.8, 2.7, 8.8, 3, 3.0766, 110, 112.6422], [1665, "2016-07-23", 1.9, 3.9, 7.9, 10, 8.0189, 210, 204.1653], [1666, "2016-07-24", 1.8, 3.3, 6.2, 13, 10.1787, 316, 305.32840000000004], [1667, "2016-07-25", 1.8, 3.2, 5.5, 16, 12.7609, 426, 401.852], [1668, "2016-07-26", 1.7, 3.0, 5.0, 19, 13.888, 502, 468.039], [1669, "2016-07-27", 2.3, 3.7, 6.0, 22, 18.0108, 509, 480.46020000000004], [1670, "2016-07-28", 3.1, 4.7, 7.1, 20, 22.93, 520, 486.8214], [1671, "2016-07-29", 3.5, 5.1, 7.4, 22, 28.0296, 583, 545.701], [1672, "2016-07-30", 3.9, 5.6, 7.9, 23, 30.9143, 598, 555.1426], [1673, "2016-07-31", 3.8, 5.4, 7.6, 23, 31.3986, 622, 581.789], [1674, "2016-08-01", 3.2, 4.7, 6.8, 23, 26.4013, 620, 565.8418], [1675, "2016-08-02", 1.9, 3.1, 4.9, 21, 17.5272, 621, 572.1866], [1676, "2016-08-03", 2.2, 3.5, 5.6, 19, 17.5534, 546, 494.6084], [1677, "2016-08-04", 2.8, 4.3, 6.6, 20, 21.3857, 530, 498.3288], [1678, "2016-08-05", 2.7, 4.2, 6.3, 19, 21.6048, 566, 519.7471], [1679, "2016-08-06", 2.0, 3.2, 5.3, 13, 16.2924, 544, 502.3055], [1680, "2016-08-07", 2.9, 4.4, 6.7, 17, 21.3275, 524, 483.9491999999999], [1681, "2016-08-08", 2.8, 4.3, 6.5, 19, 22.5317, 555, 522.1422], [1682, "2016-08-09", 4.2, 6.0, 8.4, 26, 32.5339, 575, 543.7983], [1683, "2016-08-10", 4.4, 6.3, 8.9, 25, 31.292, 520, 499.1654], [1684, "2016-08-11", 5.0, 7.0, 9.7, 31, 37.3154, 542, 532.5211], [1685, "2016-08-12", 3.8, 5.5, 7.9, 25, 30.6257, 558, 561.6999000000001], [1686, "2016-08-13", 4.1, 5.9, 8.5, 27, 31.787, 535, 535.2213], [1687, "2016-08-14", 1.6, 2.8, 4.9, 16, 14.1683, 510, 499.1015], [1688, "2016-08-15", 2.2, 3.6, 5.7, 19, 17.7282, 514, 497.06829999999997], [1689, "2016-08-16", 1.7, 3.0, 5.1, 16, 14.3844, 499, 483.73519999999996], [1690, "2016-08-17", 2.2, 3.6, 5.8, 17, 16.505, 484, 461.1074], [1691, "2016-08-18", 3.2, 4.9, 7.4, 17, 23.1453, 496, 474.58840000000004], [1692, "2016-08-19", 4.7, 6.7, 9.5, 23, 30.7356, 489, 458.68100000000004], [1693, "2016-08-20", 3.6, 5.4, 7.9, 23, 25.1154, 507, 469.3718], [1694, "2016-08-21", 4.9, 7.0, 9.7, 26, 31.6715, 504, 455.6298], [1695, "2016-08-22", 4.6, 6.5, 9.2, 26, 30.1899, 516, 464.83880000000005], [1696, "2016-08-23", 3.2, 4.9, 7.3, 23, 22.5797, 513, 463.64680000000004], [1697, "2016-08-24", 2.2, 3.5, 5.6, 15, 16.4249, 520, 468.97139999999996], [1698, "2016-08-25", 2.9, 4.5, 6.8, 19, 21.2714, 524, 474.177], [1699, "2016-08-26", 2.9, 4.4, 6.6, 27, 23.47, 593, 532.1083000000001], [1700, "2016-08-27", 2.7, 4.1, 6.2, 26, 21.6131, 587, 522.7796999999999], [1701, "2016-08-28", 2.7, 4.1, 6.2, 27, 21.1603, 587, 518.1582], [1702, "2016-08-29", 2.9, 4.4, 6.5, 31, 23.214, 590, 529.5614], [1703, "2016-08-30", 2.8, 4.2, 6.4, 27, 21.5528, 567, 509.76989999999995], [1704, "2016-08-31", 1.6, 2.7, 4.7, 14, 12.3333, 503, 451.9395], [1705, "2016-09-01", 2.5, 4.0, 6.2, 20, 18.2502, 503, 461.895], [1706, "2016-09-02", 2.3, 3.7, 6.0, 22, 17.1651, 486, 460.5023], [1707, "2016-09-03", 2.1, 3.5, 5.8, 19, 16.1896, 483, 459.26730000000003], [1708, "2016-09-04", 2.0, 3.3, 5.5, 19, 15.7475, 496, 471.3079], [1709, "2016-09-05", 2.9, 4.5, 6.9, 23, 21.0612, 485, 468.5476], [1710, "2016-09-06", 2.0, 3.4, 5.6, 15, 16.4516, 478, 484.7186], [1711, "2016-09-07", 2.9, 4.6, 7.0, 17, 22.0176, 488, 483.3387], [1712, "2016-09-08", 3.0, 4.6, 7.1, 18, 21.8574, 486, 473.99950000000007], [1713, "2016-09-09", 3.4, 5.1, 7.7, 22, 22.6267, 485, 442.60099999999994], [1714, "2016-09-10", 2.6, 4.1, 6.5, 19, 18.8614, 495, 456.3117], [1715, "2016-09-11", 3.8, 5.6, 8.1, 24, 26.3218, 510, 471.52420000000006], [1716, "2016-09-12", 2.6, 4.2, 6.5, 18, 19.2843, 502, 464.56510000000003], [1717, "2016-09-13", 2.6, 4.1, 6.4, 18, 20.1635, 524, 487.9559], [1718, "2016-09-14", 2.4, 3.8, 6.0, 15, 18.3302, 527, 482.6838], [1719, "2016-09-15", 2.1, 3.4, 5.5, 14, 16.0553, 514, 472.931], [1720, "2016-09-16", 1.3, 2.3, 4.3, 13, 11.1503, 504, 474.9646], [1721, "2016-09-17", 0.9, 1.8, 3.7, 11, 8.5303, 495, 461.6712], [1722, "2016-09-18", 1.3, 2.4, 4.4, 12, 10.3536, 464, 433.3664], [1723, "2016-09-19", 1.4, 2.6, 4.6, 12, 11.0855, 472, 434.39660000000003], [1724, "2016-09-20", 2.5, 4.0, 6.3, 14, 18.2785, 491, 456.97610000000003], [1725, "2016-09-21", 2.1, 3.5, 5.8, 13, 16.1331, 480, 455.04409999999996], [1726, "2016-09-22", 2.2, 3.6, 5.9, 15, 17.1135, 489, 472.7451], [1727, "2016-09-23", 2.1, 3.4, 5.6, 18, 15.4969, 518, 452.03970000000004], [1728, "2016-09-24", 2.4, 3.8, 6.1, 19, 17.8208, 502, 463.4308], [1729, "2016-09-25", 1.9, 3.2, 5.3, 19, 14.6494, 491, 461.9072], [1730, "2016-09-26", 2.1, 3.5, 5.7, 20, 15.8086, 501, 453.10540000000003]], "type": "day"}, "count-sum": 6800, "weight-sum": 6354.097579999998, "plus-minus": 1.0, "mean": 4.2}, {"high": 6.0, "count": 413.8, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Other", "answer_code": 3, "short-label": "Other", "label": "Other"}}], "low": 4.9, "weight": 344.14142000000004, "timeseries": {"array": [[1664, "2016-07-22", 0.5, 2.1, 8.0, 4, 2.3216, 110, 112.6422], [1665, "2016-07-23", 3.0, 5.5, 9.9, 14, 11.2346, 210, 204.1653], [1666, "2016-07-24", 3.0, 5.1, 8.4, 19, 15.5745, 316, 305.32840000000004], [1667, "2016-07-25", 2.9, 4.6, 7.3, 24, 18.5564, 426, 401.852], [1668, "2016-07-26", 2.8, 4.4, 6.7, 27, 20.4583, 502, 468.039], [1669, "2016-07-27", 3.2, 4.8, 7.3, 30, 23.2787, 509, 480.46020000000004], [1670, "2016-07-28", 2.8, 4.3, 6.6, 27, 21.038, 520, 486.8214], [1671, "2016-07-29", 2.0, 3.2, 5.2, 25, 17.5595, 583, 545.701], [1672, "2016-07-30", 1.9, 3.1, 4.9, 24, 16.9724, 598, 555.1426], [1673, "2016-07-31", 2.4, 3.7, 5.6, 27, 21.2782, 622, 581.789], [1674, "2016-08-01", 2.2, 3.5, 5.4, 24, 19.8115, 620, 565.8418], [1675, "2016-08-02", 1.8, 2.9, 4.7, 25, 16.6398, 621, 572.1866], [1676, "2016-08-03", 3.0, 4.5, 6.8, 30, 22.5036, 546, 494.6084], [1677, "2016-08-04", 3.3, 5.0, 7.4, 32, 24.7104, 530, 498.3288], [1678, "2016-08-05", 3.0, 4.5, 6.7, 31, 23.4454, 566, 519.7471], [1679, "2016-08-06", 3.1, 4.6, 6.9, 31, 23.2049, 544, 502.3055], [1680, "2016-08-07", 3.2, 4.9, 7.3, 29, 23.5447, 524, 483.9491999999999], [1681, "2016-08-08", 4.3, 6.1, 8.7, 36, 32.0693, 555, 522.1422], [1682, "2016-08-09", 4.8, 6.7, 9.2, 38, 36.1757, 575, 543.7983], [1683, "2016-08-10", 5.0, 7.0, 9.7, 35, 34.7566, 520, 499.1654], [1684, "2016-08-11", 5.9, 8.1, 10.9, 39, 42.9518, 542, 532.5211], [1685, "2016-08-12", 6.0, 8.2, 10.9, 39, 45.81, 558, 561.6999000000001], [1686, "2016-08-13", 4.5, 6.4, 9.0, 34, 34.2574, 535, 535.2213], [1687, "2016-08-14", 3.2, 4.8, 7.2, 27, 24.056, 510, 499.1015], [1688, "2016-08-15", 4.2, 6.1, 8.7, 35, 30.3942, 514, 497.06829999999997], [1689, "2016-08-16", 3.3, 5.1, 7.6, 32, 24.4321, 499, 483.73519999999996], [1690, "2016-08-17", 3.0, 4.6, 7.1, 31, 21.3726, 484, 461.1074], [1691, "2016-08-18", 3.1, 4.7, 7.2, 31, 22.4822, 496, 474.58840000000004], [1692, "2016-08-19", 3.2, 4.9, 7.4, 34, 22.3392, 489, 458.68100000000004], [1693, "2016-08-20", 3.2, 4.9, 7.3, 33, 22.8574, 507, 469.3718], [1694, "2016-08-21", 3.1, 4.8, 7.2, 31, 21.7285, 504, 455.6298], [1695, "2016-08-22", 3.5, 5.2, 7.7, 31, 24.1582, 516, 464.83880000000005], [1696, "2016-08-23", 3.7, 5.5, 8.0, 29, 25.2999, 513, 463.64680000000004], [1697, "2016-08-24", 4.3, 6.2, 8.8, 32, 28.9179, 520, 468.97139999999996], [1698, "2016-08-25", 3.0, 4.6, 7.0, 26, 21.9889, 524, 474.177], [1699, "2016-08-26", 2.9, 4.4, 6.5, 29, 23.3705, 593, 532.1083000000001], [1700, "2016-08-27", 2.5, 3.8, 5.9, 28, 19.9898, 587, 522.7796999999999], [1701, "2016-08-28", 2.4, 3.7, 5.8, 28, 19.2632, 587, 518.1582], [1702, "2016-08-29", 2.7, 4.1, 6.2, 30, 21.8161, 590, 529.5614], [1703, "2016-08-30", 3.7, 5.3, 7.7, 36, 27.1269, 567, 509.76989999999995], [1704, "2016-08-31", 4.4, 6.3, 9.0, 35, 28.6605, 503, 451.9395], [1705, "2016-09-01", 4.2, 6.1, 8.8, 36, 28.3868, 503, 461.895], [1706, "2016-09-02", 4.2, 6.1, 8.8, 35, 27.9361, 486, 460.5023], [1707, "2016-09-03", 5.1, 7.2, 10.1, 36, 33.096, 483, 459.26730000000003], [1708, "2016-09-04", 4.6, 6.6, 9.3, 35, 31.0236, 496, 471.3079], [1709, "2016-09-05", 4.7, 6.7, 9.5, 37, 31.4254, 485, 468.5476], [1710, "2016-09-06", 5.4, 7.6, 10.6, 38, 36.8619, 478, 484.7186], [1711, "2016-09-07", 5.6, 7.8, 10.8, 40, 37.6788, 488, 483.3387], [1712, "2016-09-08", 3.9, 5.8, 8.4, 38, 27.2844, 486, 473.99950000000007], [1713, "2016-09-09", 3.7, 5.5, 8.1, 36, 24.1458, 485, 442.60099999999994], [1714, "2016-09-10", 4.8, 6.8, 9.6, 37, 30.897, 495, 456.3117], [1715, "2016-09-11", 5.4, 7.5, 10.3, 42, 35.2948, 510, 471.52420000000006], [1716, "2016-09-12", 5.5, 7.7, 10.5, 43, 35.5484, 502, 464.56510000000003], [1717, "2016-09-13", 6.3, 8.6, 11.5, 45, 41.7271, 524, 487.9559], [1718, "2016-09-14", 5.9, 8.0, 10.9, 43, 38.737, 527, 482.6838], [1719, "2016-09-15", 5.2, 7.2, 10.0, 40, 34.1069, 514, 472.931], [1720, "2016-09-16", 3.9, 5.7, 8.3, 32, 27.0025, 504, 474.9646], [1721, "2016-09-17", 4.1, 6.0, 8.7, 28, 27.6724, 495, 461.6712], [1722, "2016-09-18", 3.7, 5.5, 8.2, 23, 24.0409, 464, 433.3664], [1723, "2016-09-19", 4.3, 6.2, 9.0, 24, 27.0659, 472, 434.39660000000003], [1724, "2016-09-20", 4.3, 6.3, 9.0, 27, 28.7542, 491, 456.97610000000003], [1725, "2016-09-21", 4.4, 6.4, 9.2, 29, 29.0188, 480, 455.04409999999996], [1726, "2016-09-22", 3.3, 5.0, 7.5, 29, 23.6334, 489, 472.7451], [1727, "2016-09-23", 3.1, 4.7, 7.0, 29, 21.0631, 518, 452.03970000000004], [1728, "2016-09-24", 2.2, 3.6, 5.8, 26, 16.5651, 502, 463.4308], [1729, "2016-09-25", 1.5, 2.7, 4.7, 21, 12.3147, 491, 461.9072], [1730, "2016-09-26", 1.3, 2.4, 4.4, 18, 11.0187, 501, 453.10540000000003]], "type": "day"}, "count-sum": 6800, "weight-sum": 6354.097579999998, "plus-minus": 1.2, "mean": 5.4}, {"high": 8.5, "count": 449.79999999999995, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Donald Trump (Republican)", "answer_code": 1, "label": "Donald Trump (Republican)"}}], "low": 7.1, "weight": 495.71438000000006, "timeseries": {"array": [[1664, "2016-07-22", 10.0, 16.0, 25.0, 12, 17.825, 110, 112.6422], [1665, "2016-07-23", 7.6, 11.5, 17.1, 18, 23.5635, 210, 204.1653], [1666, "2016-07-24", 6.7, 9.7, 13.8, 25, 29.5333, 316, 305.32840000000004], [1667, "2016-07-25", 7.4, 10.0, 13.5, 34, 40.3516, 426, 401.852], [1668, "2016-07-26", 7.4, 9.9, 13.1, 40, 46.2989, 502, 468.039], [1669, "2016-07-27", 6.6, 8.9, 11.9, 37, 42.6329, 509, 480.46020000000004], [1670, "2016-07-28", 6.1, 8.3, 11.3, 35, 40.6467, 520, 486.8214], [1671, "2016-07-29", 7.2, 9.5, 12.4, 40, 51.8923, 583, 545.701], [1672, "2016-07-30", 6.8, 9.0, 11.8, 37, 49.9806, 598, 555.1426], [1673, "2016-07-31", 5.9, 7.9, 10.5, 37, 45.9897, 622, 581.789], [1674, "2016-08-01", 6.4, 8.4, 11.1, 41, 47.6481, 620, 565.8418], [1675, "2016-08-02", 8.0, 10.3, 13.2, 48, 59.1859, 621, 572.1866], [1676, "2016-08-03", 6.7, 8.9, 11.8, 42, 44.1819, 546, 494.6084], [1677, "2016-08-04", 6.5, 8.7, 11.6, 42, 43.4215, 530, 498.3288], [1678, "2016-08-05", 6.7, 8.9, 11.7, 42, 46.2387, 566, 519.7471], [1679, "2016-08-06", 4.7, 6.6, 9.2, 31, 33.1598, 544, 502.3055], [1680, "2016-08-07", 3.3, 5.0, 7.4, 25, 24.0084, 524, 483.9491999999999], [1681, "2016-08-08", 4.1, 5.9, 8.4, 30, 30.6943, 555, 522.1422], [1682, "2016-08-09", 4.6, 6.5, 9.0, 31, 35.223, 575, 543.7983], [1683, "2016-08-10", 4.8, 6.7, 9.4, 28, 33.5811, 520, 499.1654], [1684, "2016-08-11", 6.3, 8.6, 11.4, 38, 45.5612, 542, 532.5211], [1685, "2016-08-12", 7.0, 9.3, 12.2, 43, 52.2495, 558, 561.6999000000001], [1686, "2016-08-13", 6.4, 8.6, 11.5, 38, 46.1326, 535, 535.2213], [1687, "2016-08-14", 6.0, 8.2, 11.1, 36, 40.9807, 510, 499.1015], [1688, "2016-08-15", 6.2, 8.5, 11.4, 37, 42.1831, 514, 497.06829999999997], [1689, "2016-08-16", 5.2, 7.3, 10.2, 33, 35.4602, 499, 483.73519999999996], [1690, "2016-08-17", 4.2, 6.1, 8.8, 28, 28.0387, 484, 461.1074], [1691, "2016-08-18", 4.0, 5.9, 8.5, 27, 27.9338, 496, 474.58840000000004], [1692, "2016-08-19", 4.2, 6.1, 8.8, 29, 27.9263, 489, 458.68100000000004], [1693, "2016-08-20", 3.7, 5.4, 8.0, 28, 25.5676, 507, 469.3718], [1694, "2016-08-21", 3.1, 4.7, 7.2, 22, 21.5442, 504, 455.6298], [1695, "2016-08-22", 2.9, 4.5, 6.8, 22, 20.7045, 516, 464.83880000000005], [1696, "2016-08-23", 4.7, 6.7, 9.4, 30, 30.973, 513, 463.64680000000004], [1697, "2016-08-24", 4.9, 6.9, 9.6, 31, 32.3539, 520, 468.97139999999996], [1698, "2016-08-25", 5.2, 7.3, 10.0, 34, 34.43, 524, 474.177], [1699, "2016-08-26", 7.2, 9.4, 12.3, 49, 50.2085, 593, 532.1083000000001], [1700, "2016-08-27", 9.3, 11.8, 14.9, 54, 61.7107, 587, 522.7796999999999], [1701, "2016-08-28", 8.8, 11.3, 14.3, 47, 58.3776, 587, 518.1582], [1702, "2016-08-29", 9.0, 11.4, 14.5, 51, 60.4946, 590, 529.5614], [1703, "2016-08-30", 9.1, 11.7, 14.8, 48, 59.5159, 567, 509.76989999999995], [1704, "2016-08-31", 7.6, 10.1, 13.3, 38, 45.727, 503, 451.9395], [1705, "2016-09-01", 6.8, 9.2, 12.3, 36, 42.4266, 503, 461.895], [1706, "2016-09-02", 6.8, 9.2, 12.3, 37, 42.3194, 486, 460.5023], [1707, "2016-09-03", 5.9, 8.1, 11.1, 32, 37.272, 483, 459.26730000000003], [1708, "2016-09-04", 7.0, 9.4, 12.5, 37, 44.2408, 496, 471.3079], [1709, "2016-09-05", 7.3, 9.8, 13.0, 37, 45.8042, 485, 468.5476], [1710, "2016-09-06", 7.2, 9.7, 12.9, 37, 46.9499, 478, 484.7186], [1711, "2016-09-07", 5.7, 7.9, 10.9, 31, 38.3325, 488, 483.3387], [1712, "2016-09-08", 6.5, 8.8, 11.9, 37, 41.7252, 486, 473.99950000000007], [1713, "2016-09-09", 5.1, 7.2, 10.1, 31, 31.7808, 485, 442.60099999999994], [1714, "2016-09-10", 5.0, 7.1, 9.9, 33, 32.3064, 495, 456.3117], [1715, "2016-09-11", 4.8, 6.8, 9.6, 34, 32.1077, 510, 471.52420000000006], [1716, "2016-09-12", 5.6, 7.8, 10.7, 40, 36.1871, 502, 464.56510000000003], [1717, "2016-09-13", 4.6, 6.6, 9.2, 31, 31.9833, 524, 487.9559], [1718, "2016-09-14", 4.3, 6.2, 8.8, 33, 29.8894, 527, 482.6838], [1719, "2016-09-15", 4.6, 6.5, 9.2, 34, 30.9293, 514, 472.931], [1720, "2016-09-16", 4.8, 6.8, 9.6, 32, 32.5059, 504, 474.9646], [1721, "2016-09-17", 4.2, 6.1, 8.8, 29, 28.1552, 495, 461.6712], [1722, "2016-09-18", 3.6, 5.4, 8.0, 28, 23.266, 464, 433.3664], [1723, "2016-09-19", 3.6, 5.4, 8.1, 27, 23.4809, 472, 434.39660000000003], [1724, "2016-09-20", 3.3, 5.0, 7.5, 25, 22.9538, 491, 456.97610000000003], [1725, "2016-09-21", 2.6, 4.1, 6.5, 22, 18.7166, 480, 455.04409999999996], [1726, "2016-09-22", 3.7, 5.5, 8.1, 23, 25.9457, 489, 472.7451], [1727, "2016-09-23", 3.6, 5.3, 7.8, 26, 24.043, 518, 452.03970000000004], [1728, "2016-09-24", 4.2, 6.1, 8.7, 28, 28.1323, 502, 463.4308], [1729, "2016-09-25", 3.2, 4.9, 7.4, 23, 22.5005, 491, 461.9072], [1730, "2016-09-26", 4.7, 6.7, 9.5, 28, 30.4866, 501, 453.10540000000003]], "type": "day"}, "count-sum": 6800, "weight-sum": 6354.097579999998, "plus-minus": 1.4, "mean": 7.8}, {"high": 2.8, "count": 128.00000000000003, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Would not vote", "answer_code": 4, "short-label": "Would not vote", "label": "Would not vote"}}], "low": 2.0, "weight": 150.87604000000002, "timeseries": {"array": [[1664, "2016-07-22", 4.0, 8.0, 16.0, 6, 9.2277, 110, 112.6422], [1665, "2016-07-23", 2.7, 5.1, 9.5, 8, 10.477, 210, 204.1653], [1666, "2016-07-24", 2.3, 4.1, 7.2, 10, 12.41, 316, 305.32840000000004], [1667, "2016-07-25", 2.4, 4.0, 6.5, 13, 15.8961, 426, 401.852], [1668, "2016-07-26", 2.7, 4.2, 6.5, 16, 19.6649, 502, 468.039], [1669, "2016-07-27", 1.2, 2.3, 4.2, 10, 10.9408, 509, 480.46020000000004], [1670, "2016-07-28", 1.4, 2.4, 4.3, 11, 11.826, 520, 486.8214], [1671, "2016-07-29", 1.3, 2.3, 4.1, 12, 12.7465, 583, 545.701], [1672, "2016-07-30", 0.8, 1.6, 3.1, 10, 8.7453, 598, 555.1426], [1673, "2016-07-31", 0.3, 0.8, 2.1, 7, 4.9061, 622, 581.789], [1674, "2016-08-01", 1.4, 2.4, 4.1, 11, 13.6684, 620, 565.8418], [1675, "2016-08-02", 1.4, 2.5, 4.2, 9, 14.1097, 621, 572.1866], [1676, "2016-08-03", 1.3, 2.4, 4.2, 8, 11.7579, 546, 494.6084], [1677, "2016-08-04", 2.5, 3.9, 6.1, 10, 19.5774, 530, 498.3288], [1678, "2016-08-05", 2.1, 3.3, 5.3, 10, 17.2478, 566, 519.7471], [1679, "2016-08-06", 1.1, 2.1, 3.9, 8, 10.5895, 544, 502.3055], [1680, "2016-08-07", 1.5, 2.7, 4.6, 9, 12.9007, 524, 483.9491999999999], [1681, "2016-08-08", 1.4, 2.5, 4.4, 8, 13.1067, 555, 522.1422], [1682, "2016-08-09", 0.7, 1.4, 2.9, 6, 7.5276, 575, 543.7983], [1683, "2016-08-10", 1.1, 2.1, 3.9, 10, 10.5097, 520, 499.1654], [1684, "2016-08-11", 1.0, 1.9, 3.7, 10, 10.3046, 542, 532.5211], [1685, "2016-08-12", 1.3, 2.3, 4.1, 10, 13.0927, 558, 561.6999000000001], [1686, "2016-08-13", 1.5, 2.6, 4.6, 11, 14.1768, 535, 535.2213], [1687, "2016-08-14", 2.1, 3.4, 5.6, 12, 17.0972, 510, 499.1015], [1688, "2016-08-15", 1.5, 2.6, 4.6, 9, 12.9758, 514, 497.06829999999997], [1689, "2016-08-16", 2.2, 3.5, 5.7, 11, 17.0788, 499, 483.73519999999996], [1690, "2016-08-17", 1.6, 2.8, 4.9, 9, 13.0041, 484, 461.1074], [1691, "2016-08-18", 1.8, 3.0, 5.1, 13, 14.4139, 496, 474.58840000000004], [1692, "2016-08-19", 1.7, 2.9, 5.0, 13, 13.4705, 489, 458.68100000000004], [1693, "2016-08-20", 1.6, 2.8, 4.9, 14, 13.3311, 507, 469.3718], [1694, "2016-08-21", 1.1, 2.0, 3.9, 13, 9.2888, 504, 455.6298], [1695, "2016-08-22", 1.2, 2.3, 4.2, 15, 10.6207, 516, 464.83880000000005], [1696, "2016-08-23", 1.3, 2.4, 4.3, 13, 10.9313, 513, 463.64680000000004], [1697, "2016-08-24", 2.3, 3.7, 5.9, 17, 17.3037, 520, 468.97139999999996], [1698, "2016-08-25", 2.7, 4.1, 6.4, 17, 19.6734, 524, 474.177], [1699, "2016-08-26", 2.5, 3.8, 5.8, 17, 20.1948, 593, 532.1083000000001], [1700, "2016-08-27", 2.4, 3.7, 5.7, 14, 19.3254, 587, 522.7796999999999], [1701, "2016-08-28", 1.9, 3.1, 5.0, 12, 15.9096, 587, 518.1582], [1702, "2016-08-29", 1.1, 2.0, 3.7, 7, 10.6357, 590, 529.5614], [1703, "2016-08-30", 0.8, 1.6, 3.2, 5, 8.1175, 567, 509.76989999999995], [1704, "2016-08-31", 0.4, 1.0, 2.5, 3, 4.6139, 503, 451.9395], [1705, "2016-09-01", 0.4, 1.0, 2.5, 3, 4.4602, 503, 461.895], [1706, "2016-09-02", 0.4, 1.1, 2.7, 4, 4.9112, 486, 460.5023], [1707, "2016-09-03", 0.5, 1.2, 2.9, 5, 5.5671, 483, 459.26730000000003], [1708, "2016-09-04", 0.5, 1.2, 2.8, 5, 5.804, 496, 471.3079], [1709, "2016-09-05", 0.6, 1.3, 3.0, 6, 6.0948, 485, 468.5476], [1710, "2016-09-06", 0.9, 1.8, 3.7, 7, 8.9292, 478, 484.7186], [1711, "2016-09-07", 1.1, 2.1, 4.0, 8, 10.2546, 488, 483.3387], [1712, "2016-09-08", 0.8, 1.7, 3.5, 7, 7.9811, 486, 473.99950000000007], [1713, "2016-09-09", 1.1, 2.0, 3.9, 9, 9.0415, 485, 442.60099999999994], [1714, "2016-09-10", 0.8, 1.7, 3.5, 8, 7.8597, 495, 456.3117], [1715, "2016-09-11", 1.0, 2.0, 3.8, 7, 9.4583, 510, 471.52420000000006], [1716, "2016-09-12", 1.0, 1.9, 3.7, 7, 8.7209, 502, 464.56510000000003], [1717, "2016-09-13", 0.8, 1.6, 3.2, 8, 7.7446, 524, 487.9559], [1718, "2016-09-14", 0.7, 1.5, 3.1, 7, 7.1941, 527, 482.6838], [1719, "2016-09-15", 0.8, 1.7, 3.4, 9, 7.9044, 514, 472.931], [1720, "2016-09-16", 0.7, 1.5, 3.1, 11, 6.927, 504, 474.9646], [1721, "2016-09-17", 0.6, 1.4, 3.0, 9, 6.2777, 495, 461.6712], [1722, "2016-09-18", 0.6, 1.3, 3.0, 8, 5.7332, 464, 433.3664], [1723, "2016-09-19", 0.5, 1.3, 3.0, 8, 5.5638, 472, 434.39660000000003], [1724, "2016-09-20", 0.8, 1.7, 3.5, 8, 7.7447, 491, 456.97610000000003], [1725, "2016-09-21", 1.1, 2.1, 4.0, 7, 9.4298, 480, 455.04409999999996], [1726, "2016-09-22", 1.1, 2.1, 4.0, 7, 9.9771, 489, 472.7451], [1727, "2016-09-23", 1.9, 3.1, 5.2, 12, 14.1754, 518, 452.03970000000004], [1728, "2016-09-24", 2.0, 3.3, 5.4, 11, 15.1731, 502, 463.4308], [1729, "2016-09-25", 1.8, 3.1, 5.3, 11, 14.4844, 491, 461.9072], [1730, "2016-09-26", 1.8, 3.0, 5.1, 11, 13.5722, 501, 453.10540000000003]], "type": "day"}, "count-sum": 6800, "weight-sum": 6354.097579999998, "plus-minus": 0.8, "mean": 2.4}], "unfiltered_sample_size": 22973}, "created": "2016-09-30 01:01:20.806520"};
  18.  
  19.            
  20. //http://polling.reuters.com/api/1.4/polling/json/mean?dimension=TM651Y15_DS_13&timeseries=day&timeseries_columns=bucket-id,bucket-label,low,mean,high,count,weight,count-sum,weight-sum&filter=LIKELY:1&filter=PARTY_ID_:2&daterange=20160601-20161009&account=trpoll&auth=1eeb6846e5f8be86
  21.             var totalRepublicans = {"status": "ok", "response": {"sample_size": 5920, "timeseries_type": "day", "available_timeseries": ["day", "week", "month"], "questions": [{"high": 7.2, "count": 402.5999999999999, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Hillary Clinton (Democrat)", "answer_code": 2, "label": "Hillary Clinton (Democrat)"}}], "low": 5.8, "weight": 357.3047399999999, "timeseries": {"array": [[1664, "2016-07-22", 1.7, 4.4, 10.9, 5, 3.9083, 110, 89.338], [1665, "2016-07-23", 3.5, 6.2, 10.6, 14, 11.1494, 219, 180.24269999999996], [1666, "2016-07-24", 3.2, 5.3, 8.7, 18, 13.5959, 308, 256.87199999999996], [1667, "2016-07-25", 3.3, 5.2, 8.1, 24, 18.2957, 410, 351.1252], [1668, "2016-07-26", 4.0, 6.0, 8.7, 29, 24.3188, 468, 407.66], [1669, "2016-07-27", 4.1, 6.0, 8.8, 31, 25.1891, 461, 420.34029999999996], [1670, "2016-07-28", 4.2, 6.2, 9.1, 29, 25.9188, 447, 418.2691], [1671, "2016-07-29", 4.1, 5.9, 8.6, 30, 28.086, 495, 473.0372], [1672, "2016-07-30", 5.3, 7.5, 10.5, 32, 33.4339, 465, 446.4035], [1673, "2016-07-31", 4.9, 6.9, 9.7, 34, 34.0651, 512, 492.26089999999994], [1674, "2016-08-01", 4.5, 6.4, 9.2, 30, 31.4537, 503, 487.6731], [1675, "2016-08-02", 4.7, 6.7, 9.4, 32, 32.984, 499, 493.87249999999995], [1676, "2016-08-03", 5.9, 8.2, 11.4, 35, 36.9127, 449, 447.5562], [1677, "2016-08-04", 4.7, 6.8, 9.7, 31, 31.5274, 469, 463.32250000000005], [1678, "2016-08-05", 3.7, 5.6, 8.3, 26, 26.0621, 462, 467.5087], [1679, "2016-08-06", 4.2, 6.1, 8.9, 29, 27.4849, 456, 448.734], [1680, "2016-08-07", 3.6, 5.5, 8.4, 25, 22.4918, 418, 408.9235], [1681, "2016-08-08", 3.2, 5.0, 7.7, 26, 20.4942, 424, 411.1923], [1682, "2016-08-09", 3.3, 5.1, 7.9, 28, 20.515, 415, 401.18899999999996], [1683, "2016-08-10", 3.9, 5.9, 8.8, 31, 23.1712, 413, 394.1868], [1684, "2016-08-11", 4.1, 6.1, 9.2, 30, 23.8853, 403, 388.891], [1685, "2016-08-12", 4.7, 6.8, 9.8, 32, 28.8727, 446, 425.47940000000006], [1686, "2016-08-13", 3.9, 5.9, 8.7, 28, 25.7021, 444, 436.0602], [1687, "2016-08-14", 4.5, 6.5, 9.5, 32, 28.965, 447, 442.68969999999996], [1688, "2016-08-15", 4.2, 6.2, 9.1, 31, 26.9827, 451, 431.99510000000004], [1689, "2016-08-16", 3.2, 5.0, 7.6, 27, 21.9538, 465, 442.294], [1690, "2016-08-17", 3.4, 5.2, 7.8, 28, 22.7345, 456, 439.8344], [1691, "2016-08-18", 4.4, 6.5, 9.4, 32, 27.2568, 448, 419.9142], [1692, "2016-08-19", 5.0, 7.2, 10.3, 36, 28.1836, 431, 393.21450000000004], [1693, "2016-08-20", 6.4, 9.0, 12.4, 37, 34.3373, 410, 383.17679999999996], [1694, "2016-08-21", 7.2, 10.0, 13.6, 39, 36.568, 395, 366.75929999999994], [1695, "2016-08-22", 6.6, 9.2, 12.6, 38, 34.1428, 409, 371.90220000000005], [1696, "2016-08-23", 6.2, 8.7, 12.1, 33, 31.7381, 423, 363.8719], [1697, "2016-08-24", 3.7, 5.6, 8.3, 21, 21.5244, 440, 387.36], [1698, "2016-08-25", 3.4, 5.2, 7.9, 23, 20.7915, 447, 398.21669999999995], [1699, "2016-08-26", 4.6, 6.5, 9.2, 36, 30.3697, 521, 465.3631], [1700, "2016-08-27", 4.1, 6.0, 8.6, 35, 27.712, 518, 462.6507], [1701, "2016-08-28", 3.6, 5.3, 7.9, 33, 24.5714, 509, 459.9906], [1702, "2016-08-29", 3.8, 5.5, 8.0, 35, 25.8805, 543, 468.87639999999993], [1703, "2016-08-30", 3.4, 5.1, 7.4, 35, 23.6096, 549, 464.66330000000005], [1704, "2016-08-31", 2.4, 3.8, 6.1, 25, 15.9528, 486, 418.52840000000003], [1705, "2016-09-01", 2.3, 3.7, 6.0, 25, 15.4209, 474, 416.7766], [1706, "2016-09-02", 2.5, 4.0, 6.3, 26, 17.0151, 475, 430.3646], [1707, "2016-09-03", 3.6, 5.5, 8.3, 29, 23.2972, 440, 424.51050000000004], [1708, "2016-09-04", 4.2, 6.3, 9.1, 30, 27.441, 447, 439.02239999999995], [1709, "2016-09-05", 4.2, 6.2, 9.1, 30, 26.9315, 441, 436.7383], [1710, "2016-09-06", 4.0, 5.9, 8.7, 32, 19.7347, 454, 333.05820000000006], [1711, "2016-09-07", 4.2, 6.3, 9.1, 33, 21.2547, 448, 339.9033], [1712, "2016-09-08", 3.7, 5.6, 8.4, 33, 19.6076, 453, 349.25559999999996], [1713, "2016-09-09", 3.0, 4.8, 7.5, 30, 20.6984, 420, 433.0106], [1714, "2016-09-10", 4.0, 6.0, 8.9, 29, 25.1782, 430, 420.8641], [1715, "2016-09-11", 4.9, 7.1, 10.2, 31, 29.4409, 433, 414.16650000000004], [1716, "2016-09-12", 5.0, 7.1, 10.1, 32, 30.2939, 445, 425.1403], [1717, "2016-09-13", 7.0, 9.5, 12.9, 38, 39.7947, 447, 416.8145], [1718, "2016-09-14", 7.6, 10.2, 13.5, 37, 42.4141, 458, 416.67429999999996], [1719, "2016-09-15", 7.3, 9.9, 13.2, 39, 43.2823, 466, 439.1288], [1720, "2016-09-16", 7.3, 9.8, 13.2, 41, 43.4722, 455, 442.8981], [1721, "2016-09-17", 7.0, 9.5, 12.7, 41, 42.786, 463, 452.52680000000004], [1722, "2016-09-18", 3.9, 5.8, 8.5, 31, 25.9624, 454, 450.59590000000003], [1723, "2016-09-19", 4.0, 6.0, 8.8, 30, 27.4251, 461, 458.7706], [1724, "2016-09-20", 3.1, 4.8, 7.4, 27, 21.3409, 459, 440.5584], [1725, "2016-09-21", 3.0, 4.7, 7.3, 22, 19.834, 451, 424.54609999999997], [1726, "2016-09-22", 2.9, 4.6, 7.2, 19, 18.0875, 429, 393.901], [1727, "2016-09-23", 5.2, 7.5, 10.6, 28, 31.4866, 433, 420.0734], [1728, "2016-09-24", 6.0, 8.4, 11.8, 31, 34.312, 414, 406.3457], [1729, "2016-09-25", 6.0, 8.5, 11.9, 31, 33.7385, 403, 398.4767], [1730, "2016-09-26", 6.0, 8.5, 11.9, 33, 33.4807, 404, 395.7446]], "type": "day"}, "count-sum": 5920, "weight-sum": 5522.26106, "plus-minus": 1.3, "mean": 6.5}, {"high": 6.7, "count": 395.7999999999999, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Refused", "answer_code": 5, "short-label": "Refused", "label": "Refused"}}], "low": 5.4, "weight": 333.82791999999995, "timeseries": {"array": [[1664, "2016-07-22", 0.2, 1.1, 7.2, 2, 1.0126, 110, 89.338], [1665, "2016-07-23", 1.3, 2.9, 6.5, 9, 5.2668, 219, 180.24269999999996], [1666, "2016-07-24", 2.0, 3.8, 6.8, 16, 9.6852, 308, 256.87199999999996], [1667, "2016-07-25", 2.9, 4.7, 7.5, 24, 16.5613, 410, 351.1252], [1668, "2016-07-26", 4.1, 6.1, 8.9, 32, 24.8227, 468, 407.66], [1669, "2016-07-27", 5.6, 7.9, 11.0, 41, 33.2476, 461, 420.34029999999996], [1670, "2016-07-28", 6.4, 8.8, 12.1, 45, 36.907, 447, 418.2691], [1671, "2016-07-29", 8.4, 11.0, 14.3, 54, 51.9562, 495, 473.0372], [1672, "2016-07-30", 8.1, 10.8, 14.2, 50, 48.1263, 465, 446.4035], [1673, "2016-07-31", 6.6, 9.0, 12.0, 48, 44.0822, 512, 492.26089999999994], [1674, "2016-08-01", 5.8, 8.0, 11.0, 41, 39.0912, 503, 487.6731], [1675, "2016-08-02", 5.8, 8.0, 10.9, 37, 39.4858, 499, 493.87249999999995], [1676, "2016-08-03", 3.6, 5.5, 8.2, 27, 24.5983, 449, 447.5562], [1677, "2016-08-04", 4.1, 6.0, 8.7, 29, 27.698, 469, 463.32250000000005], [1678, "2016-08-05", 3.8, 5.7, 8.5, 26, 26.8314, 462, 467.5087], [1679, "2016-08-06", 4.1, 6.1, 8.9, 29, 27.2546, 456, 448.734], [1680, "2016-08-07", 3.5, 5.4, 8.2, 24, 21.8829, 418, 408.9235], [1681, "2016-08-08", 3.0, 4.7, 7.4, 21, 19.401, 424, 411.1923], [1682, "2016-08-09", 2.8, 4.5, 7.2, 20, 18.08, 415, 401.18899999999996], [1683, "2016-08-10", 3.0, 4.8, 7.6, 22, 19.0428, 413, 394.1868], [1684, "2016-08-11", 2.8, 4.6, 7.3, 20, 17.8063, 403, 388.891], [1685, "2016-08-12", 3.4, 5.2, 7.9, 26, 22.1678, 446, 425.47940000000006], [1686, "2016-08-13", 3.8, 5.7, 8.5, 29, 24.9204, 444, 436.0602], [1687, "2016-08-14", 5.5, 7.7, 10.8, 35, 34.2343, 447, 442.68969999999996], [1688, "2016-08-15", 5.9, 8.2, 11.4, 39, 35.509, 451, 431.99510000000004], [1689, "2016-08-16", 6.6, 9.0, 12.2, 41, 39.7679, 465, 442.294], [1690, "2016-08-17", 6.8, 9.3, 12.6, 42, 40.8427, 456, 439.8344], [1691, "2016-08-18", 7.5, 10.1, 13.5, 47, 42.413, 448, 419.9142], [1692, "2016-08-19", 6.3, 8.8, 12.1, 41, 34.4788, 431, 393.21450000000004], [1693, "2016-08-20", 7.3, 10.0, 13.5, 43, 38.2157, 410, 383.17679999999996], [1694, "2016-08-21", 6.2, 8.8, 12.3, 42, 32.3514, 395, 366.75929999999994], [1695, "2016-08-22", 6.3, 8.8, 12.2, 40, 32.7081, 409, 371.90220000000005], [1696, "2016-08-23", 5.9, 8.4, 11.7, 38, 30.4401, 423, 363.8719], [1697, "2016-08-24", 6.3, 8.8, 12.0, 39, 33.9625, 440, 387.36], [1698, "2016-08-25", 4.8, 6.9, 9.9, 32, 27.4489, 447, 398.21669999999995], [1699, "2016-08-26", 4.8, 6.7, 9.5, 34, 31.4114, 521, 465.3631], [1700, "2016-08-27", 4.3, 6.2, 8.8, 32, 28.4633, 518, 462.6507], [1701, "2016-08-28", 4.2, 6.0, 8.7, 31, 27.7187, 509, 459.9906], [1702, "2016-08-29", 3.9, 5.7, 8.2, 31, 26.6178, 543, 468.87639999999993], [1703, "2016-08-30", 3.6, 5.3, 7.7, 28, 24.5933, 549, 464.66330000000005], [1704, "2016-08-31", 3.0, 4.6, 7.1, 24, 19.4571, 486, 418.52840000000003], [1705, "2016-09-01", 2.8, 4.5, 6.9, 25, 18.5524, 474, 416.7766], [1706, "2016-09-02", 2.6, 4.1, 6.5, 24, 17.6377, 475, 430.3646], [1707, "2016-09-03", 2.2, 3.7, 6.1, 22, 15.5553, 440, 424.51050000000004], [1708, "2016-09-04", 2.2, 3.7, 6.1, 25, 16.3287, 447, 439.02239999999995], [1709, "2016-09-05", 2.2, 3.7, 6.2, 25, 16.3453, 441, 436.7383], [1710, "2016-09-06", 2.8, 4.4, 6.9, 26, 14.6073, 454, 333.05820000000006], [1711, "2016-09-07", 2.3, 3.8, 6.2, 22, 12.903, 448, 339.9033], [1712, "2016-09-08", 2.9, 4.6, 7.2, 22, 16.1398, 453, 349.25559999999996], [1713, "2016-09-09", 3.4, 5.3, 8.1, 22, 22.8749, 420, 433.0106], [1714, "2016-09-10", 3.4, 5.3, 8.0, 22, 22.1752, 430, 420.8641], [1715, "2016-09-11", 3.3, 5.2, 7.9, 23, 21.3336, 433, 414.16650000000004], [1716, "2016-09-12", 3.5, 5.4, 8.1, 27, 22.7791, 445, 425.1403], [1717, "2016-09-13", 3.2, 5.0, 7.7, 31, 20.8924, 447, 416.8145], [1718, "2016-09-14", 2.6, 4.2, 6.7, 27, 17.6158, 458, 416.67429999999996], [1719, "2016-09-15", 2.1, 3.6, 5.9, 27, 15.623, 466, 439.1288], [1720, "2016-09-16", 1.8, 3.2, 5.5, 24, 14.1388, 455, 442.8981], [1721, "2016-09-17", 2.1, 3.5, 5.8, 24, 15.9005, 463, 452.52680000000004], [1722, "2016-09-18", 2.7, 4.3, 6.8, 24, 19.3393, 454, 450.59590000000003], [1723, "2016-09-19", 3.1, 4.8, 7.4, 29, 22.0161, 461, 458.7706], [1724, "2016-09-20", 4.1, 6.1, 8.9, 33, 26.825, 459, 440.5584], [1725, "2016-09-21", 3.7, 5.6, 8.4, 31, 23.7662, 451, 424.54609999999997], [1726, "2016-09-22", 3.5, 5.3, 8.1, 30, 21.014, 429, 393.901], [1727, "2016-09-23", 2.9, 4.6, 7.2, 25, 19.2469, 433, 420.0734], [1728, "2016-09-24", 2.6, 4.3, 6.9, 20, 17.358, 414, 406.3457], [1729, "2016-09-25", 2.2, 3.8, 6.4, 17, 15.1438, 403, 398.4767], [1730, "2016-09-26", 3.7, 5.7, 8.6, 21, 22.4651, 404, 395.7446]], "type": "day"}, "count-sum": 5920, "weight-sum": 5522.26106, "plus-minus": 1.3, "mean": 6.0}, {"high": 9.8, "count": 630.0000000000002, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Other", "answer_code": 3, "short-label": "Other", "label": "Other"}}], "low": 8.3, "weight": 497.92235999999997, "timeseries": {"array": [[1664, "2016-07-22", 3.0, 6.0, 14.0, 7, 5.7726, 110, 89.338], [1665, "2016-07-23", 3.4, 6.1, 10.5, 16, 10.9448, 219, 180.24269999999996], [1666, "2016-07-24", 3.4, 5.7, 9.1, 22, 14.5254, 308, 256.87199999999996], [1667, "2016-07-25", 3.8, 5.8, 8.7, 30, 20.2732, 410, 351.1252], [1668, "2016-07-26", 4.6, 6.6, 9.5, 39, 26.8867, 468, 407.66], [1669, "2016-07-27", 4.7, 6.8, 9.7, 43, 28.3963, 461, 420.34029999999996], [1670, "2016-07-28", 4.9, 7.1, 10.1, 43, 29.6425, 447, 418.2691], [1671, "2016-07-29", 7.1, 9.5, 12.7, 57, 44.9835, 495, 473.0372], [1672, "2016-07-30", 7.3, 9.8, 13.1, 57, 43.9128, 465, 446.4035], [1673, "2016-07-31", 7.6, 10.0, 13.2, 59, 49.3339, 512, 492.26089999999994], [1674, "2016-08-01", 7.5, 10.0, 13.2, 60, 48.8211, 503, 487.6731], [1675, "2016-08-02", 7.2, 9.6, 12.8, 55, 47.4747, 499, 493.87249999999995], [1676, "2016-08-03", 5.6, 7.9, 11.0, 46, 35.3037, 449, 447.5562], [1677, "2016-08-04", 5.5, 7.7, 10.8, 48, 35.896, 469, 463.32250000000005], [1678, "2016-08-05", 7.3, 9.9, 13.2, 59, 46.2885, 462, 467.5087], [1679, "2016-08-06", 7.6, 10.3, 13.7, 56, 46.0924, 456, 448.734], [1680, "2016-08-07", 8.5, 11.4, 15.1, 57, 46.4921, 418, 408.9235], [1681, "2016-08-08", 7.8, 10.5, 14.1, 53, 43.2239, 424, 411.1923], [1682, "2016-08-09", 7.5, 10.2, 13.8, 48, 41.1184, 415, 401.18899999999996], [1683, "2016-08-10", 5.9, 8.3, 11.6, 44, 32.6955, 413, 394.1868], [1684, "2016-08-11", 6.5, 9.0, 12.5, 43, 35.152, 403, 388.891], [1685, "2016-08-12", 7.3, 9.9, 13.3, 48, 42.2554, 446, 425.47940000000006], [1686, "2016-08-13", 8.4, 11.1, 14.7, 53, 48.5169, 444, 436.0602], [1687, "2016-08-14", 9.5, 12.5, 16.1, 59, 55.126, 447, 442.68969999999996], [1688, "2016-08-15", 9.1, 11.9, 15.5, 52, 51.4756, 451, 431.99510000000004], [1689, "2016-08-16", 8.9, 11.7, 15.2, 55, 51.6596, 465, 442.294], [1690, "2016-08-17", 8.4, 11.2, 14.7, 57, 49.2299, 456, 439.8344], [1691, "2016-08-18", 8.0, 10.7, 14.2, 54, 45.117, 448, 419.9142], [1692, "2016-08-19", 7.1, 9.7, 13.1, 50, 37.9927, 431, 393.21450000000004], [1693, "2016-08-20", 5.7, 8.1, 11.4, 47, 30.948, 410, 383.17679999999996], [1694, "2016-08-21", 5.6, 8.1, 11.5, 45, 29.6272, 395, 366.75929999999994], [1695, "2016-08-22", 6.1, 8.6, 12.0, 42, 32.1402, 409, 371.90220000000005], [1696, "2016-08-23", 6.5, 9.0, 12.4, 45, 32.7813, 423, 363.8719], [1697, "2016-08-24", 6.9, 9.5, 12.9, 46, 36.8135, 440, 387.36], [1698, "2016-08-25", 6.9, 9.4, 12.7, 46, 37.3864, 447, 398.21669999999995], [1699, "2016-08-26", 6.4, 8.6, 11.6, 52, 40.1039, 521, 465.3631], [1700, "2016-08-27", 6.6, 8.9, 11.9, 55, 41.2479, 518, 462.6507], [1701, "2016-08-28", 6.4, 8.7, 11.7, 51, 40.1979, 509, 459.9906], [1702, "2016-08-29", 6.2, 8.4, 11.2, 54, 39.2381, 543, 468.87639999999993], [1703, "2016-08-30", 7.4, 9.8, 12.8, 62, 45.521, 549, 464.66330000000005], [1704, "2016-08-31", 7.9, 10.5, 13.7, 57, 43.7605, 486, 418.52840000000003], [1705, "2016-09-01", 8.7, 11.4, 14.8, 56, 47.5156, 474, 416.7766], [1706, "2016-09-02", 9.7, 12.5, 16.1, 63, 53.8591, 475, 430.3646], [1707, "2016-09-03", 9.7, 12.7, 16.5, 59, 54.0295, 440, 424.51050000000004], [1708, "2016-09-04", 8.0, 10.7, 14.2, 53, 47.1294, 447, 439.02239999999995], [1709, "2016-09-05", 8.7, 11.6, 15.2, 53, 50.5419, 441, 436.7383], [1710, "2016-09-06", 7.0, 9.5, 12.8, 50, 31.5902, 454, 333.05820000000006], [1711, "2016-09-07", 5.3, 7.5, 10.6, 43, 25.4732, 448, 339.9033], [1712, "2016-09-08", 5.1, 7.3, 10.4, 40, 25.638, 453, 349.25559999999996], [1713, "2016-09-09", 4.5, 6.6, 9.7, 35, 28.6344, 420, 433.0106], [1714, "2016-09-10", 3.8, 5.8, 8.6, 35, 24.3333, 430, 420.8641], [1715, "2016-09-11", 3.6, 5.5, 8.3, 34, 22.6682, 433, 414.16650000000004], [1716, "2016-09-12", 4.4, 6.4, 9.4, 39, 27.3573, 445, 425.1403], [1717, "2016-09-13", 3.9, 5.9, 8.7, 40, 24.5214, 447, 416.8145], [1718, "2016-09-14", 4.7, 6.8, 9.7, 46, 28.2303, 458, 416.67429999999996], [1719, "2016-09-15", 4.3, 6.3, 9.1, 41, 27.6241, 466, 439.1288], [1720, "2016-09-16", 6.3, 8.7, 11.9, 42, 38.5896, 455, 442.8981], [1721, "2016-09-17", 5.2, 7.3, 10.3, 35, 33.2603, 463, 452.52680000000004], [1722, "2016-09-18", 6.3, 8.7, 11.9, 38, 39.0969, 454, 450.59590000000003], [1723, "2016-09-19", 6.9, 9.4, 12.6, 41, 43.0304, 461, 458.7706], [1724, "2016-09-20", 9.1, 11.9, 15.5, 52, 52.4728, 459, 440.5584], [1725, "2016-09-21", 7.0, 9.6, 12.9, 51, 40.6595, 451, 424.54609999999997], [1726, "2016-09-22", 7.4, 10.0, 13.5, 53, 39.5779, 429, 393.901], [1727, "2016-09-23", 6.7, 9.3, 12.6, 52, 38.9608, 433, 420.0734], [1728, "2016-09-24", 4.7, 7.0, 10.1, 46, 28.254, 414, 406.3457], [1729, "2016-09-25", 3.5, 5.5, 8.4, 38, 21.7856, 403, 398.4767], [1730, "2016-09-26", 5.3, 7.7, 11.0, 43, 30.4091, 404, 395.7446]], "type": "day"}, "count-sum": 5920, "weight-sum": 5522.26106, "plus-minus": 1.6, "mean": 9.0}, {"high": 77.1, "count": 4346.6, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Donald Trump (Republican)", "answer_code": 1, "label": "Donald Trump (Republican)"}}], "low": 74.7, "weight": 4192.37626, "timeseries": {"array": [[1664, "2016-07-22", 77.0, 86.0, 92.0, 92, 76.6715, 110, 89.338], [1665, "2016-07-23", 76.0, 83.0, 87.0, 172, 148.7411, 219, 180.24269999999996], [1666, "2016-07-24", 77.4, 82.4, 86.5, 240, 211.7507, 308, 256.87199999999996], [1667, "2016-07-25", 76.6, 81.0, 84.8, 315, 284.556, 410, 351.1252], [1668, "2016-07-26", 73.8, 78.1, 81.8, 349, 318.2438, 468, 407.66], [1669, "2016-07-27", 71.4, 75.9, 79.8, 329, 318.9044, 461, 420.34029999999996], [1670, "2016-07-28", 69.9, 74.5, 78.6, 315, 311.6518, 447, 418.2691], [1671, "2016-07-29", 65.6, 70.1, 74.2, 337, 331.4364, 495, 473.0372], [1672, "2016-07-30", 64.5, 69.2, 73.5, 314, 308.7747, 465, 446.4035], [1673, "2016-07-31", 67.3, 71.7, 75.7, 360, 352.9644, 512, 492.26089999999994], [1674, "2016-08-01", 66.5, 70.9, 75.0, 357, 345.9251, 503, 487.6731], [1675, "2016-08-02", 66.3, 70.8, 74.9, 359, 349.6387, 499, 493.87249999999995], [1676, "2016-08-03", 70.0, 74.6, 78.6, 331, 333.6619, 449, 447.5562], [1677, "2016-08-04", 71.6, 75.9, 79.8, 350, 351.8509, 469, 463.32250000000005], [1678, "2016-08-05", 70.8, 75.3, 79.2, 341, 351.9349, 462, 467.5087], [1679, "2016-08-06", 71.8, 76.2, 80.2, 336, 342.0396, 456, 448.734], [1680, "2016-08-07", 71.8, 76.4, 80.5, 306, 312.4235, 418, 408.9235], [1681, "2016-08-08", 73.1, 77.7, 81.6, 314, 319.3311, 424, 411.1923], [1682, "2016-08-09", 73.4, 77.9, 81.9, 308, 312.6128, 415, 401.18899999999996], [1683, "2016-08-10", 73.5, 78.1, 82.1, 301, 307.9132, 413, 394.1868], [1684, "2016-08-11", 72.1, 76.8, 80.9, 292, 298.5278, 403, 388.891], [1685, "2016-08-12", 70.8, 75.4, 79.4, 323, 320.629, 446, 425.47940000000006], [1686, "2016-08-13", 69.6, 74.2, 78.3, 317, 323.5214, 444, 436.0602], [1687, "2016-08-14", 65.6, 70.4, 74.7, 305, 311.4798, 447, 442.68969999999996], [1688, "2016-08-15", 65.6, 70.3, 74.6, 313, 303.606, 451, 431.99510000000004], [1689, "2016-08-16", 67.4, 71.9, 76.1, 331, 318.152, 465, 442.294], [1690, "2016-08-17", 67.3, 71.9, 76.1, 319, 316.1533, 456, 439.8344], [1691, "2016-08-18", 66.0, 70.7, 75.0, 308, 296.919, 448, 419.9142], [1692, "2016-08-19", 67.3, 72.1, 76.4, 296, 283.3844, 431, 393.21450000000004], [1693, "2016-08-20", 66.0, 71.0, 75.4, 277, 271.9161, 410, 383.17679999999996], [1694, "2016-08-21", 65.6, 70.6, 75.2, 261, 259.0044, 395, 366.75929999999994], [1695, "2016-08-22", 66.1, 71.0, 75.5, 279, 264.1963, 409, 371.90220000000005], [1696, "2016-08-23", 65.7, 70.6, 75.0, 292, 256.8382, 423, 363.8719], [1697, "2016-08-24", 68.8, 73.5, 77.7, 321, 284.6102, 440, 387.36], [1698, "2016-08-25", 70.9, 75.4, 79.5, 331, 300.4307, 447, 398.21669999999995], [1699, "2016-08-26", 71.3, 75.5, 79.2, 384, 351.1545, 521, 465.3631], [1700, "2016-08-27", 71.9, 76.1, 79.8, 382, 352.0696, 518, 462.6507], [1701, "2016-08-28", 73.8, 77.9, 81.5, 384, 358.3651, 509, 459.9906], [1702, "2016-08-29", 74.2, 78.2, 81.7, 410, 366.5528, 543, 468.87639999999993], [1703, "2016-08-30", 74.2, 78.1, 81.6, 415, 363.0731, 549, 464.66330000000005], [1704, "2016-08-31", 75.3, 79.4, 83.0, 372, 332.2022, 486, 418.52840000000003], [1705, "2016-09-01", 75.1, 79.3, 82.9, 359, 330.4428, 474, 416.7766], [1706, "2016-09-02", 74.1, 78.3, 82.0, 354, 336.916, 475, 430.3646], [1707, "2016-09-03", 72.2, 76.7, 80.6, 322, 325.5201, 440, 424.51050000000004], [1708, "2016-09-04", 72.6, 77.0, 80.9, 328, 338.1737, 447, 439.02239999999995], [1709, "2016-09-05", 71.3, 75.8, 79.8, 318, 330.9799, 441, 436.7383], [1710, "2016-09-06", 73.5, 77.9, 81.7, 334, 259.408, 454, 333.05820000000006], [1711, "2016-09-07", 75.9, 80.2, 83.8, 338, 272.4896, 448, 339.9033], [1712, "2016-09-08", 76.0, 80.2, 83.8, 347, 280.0308, 453, 349.25559999999996], [1713, "2016-09-09", 76.4, 80.8, 84.5, 323, 349.9055, 420, 433.0106], [1714, "2016-09-10", 76.6, 80.9, 84.5, 337, 340.2842, 430, 420.8641], [1715, "2016-09-11", 75.5, 79.9, 83.6, 336, 330.7341, 433, 414.16650000000004], [1716, "2016-09-12", 74.7, 79.1, 82.8, 339, 336.1755, 445, 425.1403], [1717, "2016-09-13", 73.7, 78.1, 81.9, 332, 325.527, 447, 416.8145], [1718, "2016-09-14", 73.7, 78.0, 81.8, 342, 324.9431, 458, 416.67429999999996], [1719, "2016-09-15", 74.9, 79.2, 82.8, 352, 347.6041, 466, 439.1288], [1720, "2016-09-16", 72.7, 77.0, 80.9, 342, 341.2471, 455, 442.8981], [1721, "2016-09-17", 72.3, 76.7, 80.6, 353, 347.0663, 463, 452.52680000000004], [1722, "2016-09-18", 73.3, 77.7, 81.5, 348, 349.9279, 454, 450.59590000000003], [1723, "2016-09-19", 70.8, 75.3, 79.3, 347, 345.4493, 461, 458.7706], [1724, "2016-09-20", 67.7, 72.3, 76.5, 333, 318.6609, 459, 440.5584], [1725, "2016-09-21", 71.4, 75.8, 79.8, 334, 321.9719, 451, 424.54609999999997], [1726, "2016-09-22", 72.5, 77.0, 81.0, 318, 303.4311, 429, 393.901], [1727, "2016-09-23", 71.7, 76.3, 80.3, 322, 320.4317, 433, 420.0734], [1728, "2016-09-24", 75.3, 79.7, 83.6, 314, 323.9444, 414, 406.3457], [1729, "2016-09-25", 77.9, 82.3, 85.9, 317, 327.8088, 403, 398.4767], [1730, "2016-09-26", 73.5, 78.1, 82.1, 306, 308.9951, 404, 395.7446]], "type": "day"}, "count-sum": 5920, "weight-sum": 5522.26106, "plus-minus": 2.3, "mean": 75.9}, {"high": 3.0, "count": 145.2, "responses": [{"question": {"updated": null, "collapsible": false, "description": "If the 2016 presidential election were being held today and the candidates were as below, for whom would you vote?", "show-results": false, "short-label": "In the 2016 presidential electio would you vote for Donald Trump or Hillary Clinton", "answers": [{"answer": 1, "max_date": null, "min_date": null, "answer_desc": "Donald Trump (Republican)", "label": "Donald Trump (Republican)"}, {"answer": 2, "max_date": null, "min_date": null, "answer_desc": "Hillary Clinton (Democrat)", "label": "Hillary Clinton (Democrat)"}, {"short-label": "Other", "min_date": null, "max_date": null, "answer": 3, "label": "Other", "answer_desc": "Other"}, {"short-label": "Would not vote", "min_date": null, "max_date": null, "answer": 4, "label": "Would not vote", "answer_desc": "Would not vote"}, {"short-label": "Refused", "min_date": null, "max_date": null, "answer": 5, "label": "Refused", "answer_desc": "Refused"}], "max-date": null, "sponsored": false, "kicker": "", "default-filter": "", "question_code": "TM651Y15_DS_13", "category": ["Elections & Politics", "Current Affairs"], "dimension-1": true, "label": "If the 2016 presidential election were held today, would you vote for Donald Trump or Hillary Clinton", "priority": 100, "s-img": "http://d1qygsju6bog0o.cloudfront.net/static/TM651Y15_DS_13/images/TrumpClinton2.jpg", "min-date": null, "results-headline": ""}, "response": {"answer": "Would not vote", "answer_code": 4, "short-label": "Would not vote", "label": "Would not vote"}}], "low": 2.2, "weight": 140.82978000000003, "timeseries": {"array": [[1664, "2016-07-22", 0.6, 2.2, 8.2, 4, 1.973, 110, 89.338], [1665, "2016-07-23", 0.9, 2.3, 5.7, 8, 4.1406, 219, 180.24269999999996], [1666, "2016-07-24", 1.4, 2.8, 5.7, 12, 7.3148, 308, 256.87199999999996], [1667, "2016-07-25", 1.8, 3.3, 5.7, 17, 11.439, 410, 351.1252], [1668, "2016-07-26", 1.9, 3.3, 5.5, 19, 13.388, 468, 407.66], [1669, "2016-07-27", 2.1, 3.5, 5.8, 17, 14.6029, 461, 420.34029999999996], [1670, "2016-07-28", 2.0, 3.4, 5.7, 15, 14.149, 447, 418.2691], [1671, "2016-07-29", 2.1, 3.5, 5.7, 17, 16.5751, 495, 473.0372], [1672, "2016-07-30", 1.5, 2.7, 4.8, 12, 12.1558, 465, 446.4035], [1673, "2016-07-31", 1.3, 2.4, 4.3, 11, 11.8153, 512, 492.26089999999994], [1674, "2016-08-01", 3.0, 4.6, 7.0, 15, 22.382, 503, 487.6731], [1675, "2016-08-02", 3.2, 4.9, 7.4, 16, 24.2893, 499, 493.87249999999995], [1676, "2016-08-03", 2.3, 3.8, 6.2, 10, 17.0796, 449, 447.5562], [1677, "2016-08-04", 2.1, 3.5, 5.8, 11, 16.3502, 469, 463.32250000000005], [1678, "2016-08-05", 2.1, 3.5, 5.8, 10, 16.3918, 462, 467.5087], [1679, "2016-08-06", 0.6, 1.3, 3.0, 6, 5.8625, 456, 448.734], [1680, "2016-08-07", 0.6, 1.4, 3.3, 6, 5.6332, 418, 408.9235], [1681, "2016-08-08", 1.1, 2.1, 4.2, 10, 8.7421, 424, 411.1923], [1682, "2016-08-09", 1.1, 2.2, 4.4, 11, 8.8628, 415, 401.18899999999996], [1683, "2016-08-10", 1.6, 2.9, 5.2, 15, 11.3641, 413, 394.1868], [1684, "2016-08-11", 2.0, 3.5, 6.0, 18, 13.5196, 403, 388.891], [1685, "2016-08-12", 1.5, 2.7, 4.9, 17, 11.5545, 446, 425.47940000000006], [1686, "2016-08-13", 1.7, 3.1, 5.3, 17, 13.3994, 444, 436.0602], [1687, "2016-08-14", 1.6, 2.9, 5.1, 16, 12.8846, 447, 442.68969999999996], [1688, "2016-08-15", 2.0, 3.3, 5.6, 16, 14.4218, 451, 431.99510000000004], [1689, "2016-08-16", 1.3, 2.4, 4.5, 11, 10.7607, 465, 442.294], [1690, "2016-08-17", 1.3, 2.5, 4.6, 10, 10.874, 456, 439.8344], [1691, "2016-08-18", 1.0, 2.0, 3.9, 7, 8.2084, 448, 419.9142], [1692, "2016-08-19", 1.2, 2.3, 4.5, 8, 9.175, 431, 393.21450000000004], [1693, "2016-08-20", 1.0, 2.0, 4.1, 6, 7.7597, 410, 383.17679999999996], [1694, "2016-08-21", 1.3, 2.5, 4.8, 8, 9.2083, 395, 366.75929999999994], [1695, "2016-08-22", 1.2, 2.3, 4.5, 10, 8.7148, 409, 371.90220000000005], [1696, "2016-08-23", 1.9, 3.3, 5.7, 15, 12.0742, 423, 363.8719], [1697, "2016-08-24", 1.5, 2.7, 4.9, 13, 10.4494, 440, 387.36], [1698, "2016-08-25", 1.7, 3.1, 5.3, 15, 12.1592, 447, 398.21669999999995], [1699, "2016-08-26", 1.5, 2.6, 4.6, 15, 12.3236, 521, 465.3631], [1700, "2016-08-27", 1.7, 2.8, 4.8, 14, 13.1579, 518, 462.6507], [1701, "2016-08-28", 1.0, 2.0, 3.8, 10, 9.1375, 509, 459.9906], [1702, "2016-08-29", 1.2, 2.3, 4.1, 13, 10.5872, 543, 468.87639999999993], [1703, "2016-08-30", 0.9, 1.7, 3.3, 9, 7.8663, 549, 464.66330000000005], [1704, "2016-08-31", 0.8, 1.7, 3.5, 8, 7.1558, 486, 418.52840000000003], [1705, "2016-09-01", 0.5, 1.2, 2.8, 9, 4.8449, 474, 416.7766], [1706, "2016-09-02", 0.5, 1.1, 2.8, 8, 4.9367, 475, 430.3646], [1707, "2016-09-03", 0.6, 1.4, 3.3, 8, 6.1084, 440, 424.51050000000004], [1708, "2016-09-04", 1.2, 2.3, 4.3, 11, 9.9496, 447, 439.02239999999995], [1709, "2016-09-05", 1.5, 2.7, 4.9, 15, 11.9397, 441, 436.7383], [1710, "2016-09-06", 1.2, 2.3, 4.4, 12, 7.718, 454, 333.05820000000006], [1711, "2016-09-07", 1.2, 2.3, 4.3, 12, 7.7828, 448, 339.9033], [1712, "2016-09-08", 1.2, 2.2, 4.3, 11, 7.8394, 453, 349.25559999999996], [1713, "2016-09-09", 1.3, 2.5, 4.7, 10, 10.8974, 420, 433.0106], [1714, "2016-09-10", 1.1, 2.1, 4.2, 7, 8.8932, 430, 420.8641], [1715, "2016-09-11", 1.3, 2.4, 4.6, 9, 9.9897, 433, 414.16650000000004], [1716, "2016-09-12", 1.0, 2.0, 4.0, 8, 8.5345, 445, 425.1403], [1717, "2016-09-13", 0.6, 1.5, 3.3, 6, 6.079, 447, 416.8145], [1718, "2016-09-14", 0.3, 0.8, 2.4, 6, 3.471, 458, 416.67429999999996], [1719, "2016-09-15", 0.5, 1.1, 2.8, 7, 4.9953, 466, 439.1288], [1720, "2016-09-16", 0.5, 1.2, 3.0, 6, 5.4504, 455, 442.8981], [1721, "2016-09-17", 1.7, 3.0, 5.2, 10, 13.5137, 463, 452.52680000000004], [1722, "2016-09-18", 2.2, 3.6, 6.0, 13, 16.2694, 454, 450.59590000000003], [1723, "2016-09-19", 2.9, 4.5, 7.1, 14, 20.8497, 461, 458.7706], [1724, "2016-09-20", 3.1, 4.8, 7.4, 14, 21.2588, 459, 440.5584], [1725, "2016-09-21", 2.7, 4.3, 6.8, 13, 18.3145, 451, 424.54609999999997], [1726, "2016-09-22", 1.7, 3.0, 5.3, 9, 11.7905, 429, 393.901], [1727, "2016-09-23", 1.2, 2.4, 4.5, 6, 9.9474, 433, 420.0734], [1728, "2016-09-24", 0.2, 0.6, 2.3, 3, 2.4773, 414, 406.3457], [1729, "2016-09-25", null, null, null, null, null, null, null], [1730, "2016-09-26", 0.0, 0.1, 2.7, 1, 0.3946, 404, 395.7446]], "type": "day"}, "count-sum": 5920, "weight-sum": 5522.26106, "plus-minus": 0.9, "mean": 2.6}], "unfiltered_sample_size": 22973}, "created": "2016-09-30 01:02:11.835672"};
  22.            
  23.             var likelyVotersClinton = total.response.questions[0].timeseries.array;
  24.             var likelyVotersTrump = total.response.questions[3].timeseries.array;
  25.             var likelyVotersClintonDemocrats = totalDemocrats.response.questions[0].timeseries.array;
  26.             var likelyVotersTrumpRepublicans = totalRepublicans.response.questions[3].timeseries.array;
  27.            
  28.             //0 = Clinton, 1 = Trump
  29.             //Total Sample, Date, Low Poll, Mid Poll, High Poll, 5, 6, Likely Voter Sample, 8
  30.  
  31.             var pollData = [];
  32.  
  33.  
  34.             for(i=0;i<67;i++){
  35.                 var date = likelyVotersClinton[i][1];
  36.                 var likelySampleSize = likelyVotersClinton[i][7];
  37.                 var clintonPoints = likelyVotersClinton[i][3];
  38.                 var trumpPoints = likelyVotersTrump[i][3];
  39.                 var likelySampleDemocrats = likelyVotersClintonDemocrats[i][7];
  40.                 var likelySampleRepublicans = likelyVotersTrumpRepublicans[i][7];
  41.                 var likelySampleNeither = likelySampleSize - likelySampleDemocrats - likelySampleRepublicans;
  42.  
  43.                 var point = {
  44.                     date:date,
  45.                     likelySampleSize:likelySampleSize,
  46.                     clintonPolling:clintonPoints,
  47.                     trumpPolling:trumpPoints,
  48.                     likelySampleRepublicans:likelySampleRepublicans,
  49.                     likelySampleDemocrats:likelySampleDemocrats,
  50.                     likelySampleNeither:likelySampleNeither
  51.                 };
  52.                 pollData.push(point)
  53.             }
  54.  
  55.  var hotElement = document.querySelector('#hot');
  56.  var hotElementContainer = hotElement.parentNode;
  57.  var hotSettings = {
  58.    data: pollData,
  59.    stretchH: 'all',
  60.    width: 806,
  61.    autoWrapRow: true,
  62.    height: 441,
  63.    maxRows: 22,
  64.    rowHeaders: true,
  65.    colHeaders: [
  66.        'Date',
  67.        'Total Likely Count',
  68.        'Clinton',
  69.        'Trump',
  70.        'Likely Republican Count',
  71.        'Likely Democrat Count',
  72.        'Likely Neither Count',
  73.    ]
  74. };
  75.  
  76.  var hot = new Handsontable(hotElement, hotSettings);
  77.     </script>
  78. </body>
  79. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement