{"appearance":{"background":"white","padding":14,"font":{"family":"Courier New","size":10.0,"bold":false,"italic":false,"underline":false,"strikeout":false,"color":"rgb(0,72,168)"},"border":{"on":true,"size":0.0,"style":"solid","color":"#666"},"text":{"wrap":false,"hAlign":"left","vAlign":"top"}},"outputType":"TABLE","widgetState":null,"outputs":{"text":" text\n1 The F-35 program and cost is out of control. Billions of dollars can and will be saved on military (and other) purchases after January 20th.\n2 Unless you catch \"hackers\" in the act, it is very hard to determine who was doing the hacking. Why wasn't this brought up before election?\n3 Can you imagine if the election results were the opposite and WE tried to play the Russia/CIA card. It would be called conspiracy theory!\n4 Just watched @NBCNightlyNews - So biased, inaccurate and bad, point after point. Just can't get much worse, although @CNN is right up there!\n5 Will be interviewed on @FoxNews at 10:00 P.M. Enjoy!\n6 Whether I choose him or not for \"State\"- Rex Tillerson, the Chairman & CEO of ExxonMobil, is a world class player and dealmaker. Stay tuned!\n7 I spent Friday campaigning with John Kennedy, of the Great State of Louisiana, for the U.S.Senate. The election is over - JOHN WON!\n8 Being at the Army - Navy Game was fantastic. There is nothing like the spirit in that stadium. A wonderful experience, and congrats to Army!\n9 I will be interviewed today on Fox News Sunday with Chris Wallace at 10:00 (Eastern) Network. ENJOY!\n10 RT @FoxNewsSunday: Sunday-- our exclusive interview with President-elect @realDonaldTrump \\nWatch on @FoxNews at 2p/10p ET \\nCheck your local…\n11 October 2015 - thanks Chris Wallace @FoxNewsSunday! https://t.co/VEsgPcWq7z\n12 RT @TrumpInaugural: Counting down the days until the swearing in of @realDonaldTrump & @mike_pence. Check in here for the latest updates. #…\n13 A very interesting read. Unfortunately, so much is true.\\nhttps://t.co/ER2BoM765M\n14 Reports by @CNN that I will be working on The Apprentice during my Presidency, even part time, are ridiculous & untrue - FAKE NEWS!\n15 As a show of support for our Armed Forces, I will be going to The Army-Navy Game today. Looking forward to it, should be fun!\n16 I have NOTHING to do with The Apprentice except for fact that I conceived it with Mark B & have a big stake in it. Will devote ZERO TIME!\n17 .@RudyGiuliani, one of the finest people I know and a former GREAT Mayor of N.Y.C., just took himself out of consideration for \"State\".\n18 Thank you Michigan. We are going to bring back your jobs & together, we will MAKE AMERICA GREAT AGAIN!\\nWatch:… https://t.co/EyLOo26FqW\n19 Thank you Louisiana! Get out & vote for John Kennedy tomorrow. Electing Kennedy will help enact our agenda on behal… https://t.co/sHXeyreEZI\n20 Join me live in Louisiana! Tomorrow, we need you to go to the polls & send John Kennedy to the U.S. Senate. https://t.co/O0jtz0BKeL\n21 THANK YOU IOWA!\\n#ThankYouTour2016 https://t.co/v6EB2OQMeO\n22 Join me tomorrow! #MAGA \\n10am- Baton Rouge, LA. \\nTickets: https://t.co/rvIQ6Yq45P\\n7pm- Grand Rapids, MI.\\nTickets: https://t.co/2UTwAg5V87\n23 On my way to Des Moines, Iowa- will see you soon with @mike_pence. Join us! Tickets: https://t.co/1IuRTVwMSx #ThankYouTour2016\n24 Today we lost a great pioneer of air and space in John Glenn. He was a hero and inspired generations of future explorers. He will be missed.\n25 If United Steelworkers 1999 was any good, they would have kept those jobs in Indiana. Spend more time working-less time talking. Reduce dues\n26 Chuck Jones, who is President of United Steelworkers 1999, has done a terrible job representing workers. No wonder companies flee country!\n27 Join me tomorrow in Des Moines, Iowa with Vice President-Elect @mike_pence - at 7:00pm!\\n#ThankYouTour2016 #MAGA… https://t.co/Geq6sT70IT\n28 We pause today to remember the 2,403 American heroes who selflessly gave their lives at Pearl Harbor 75 years ago...\\nhttps://t.co/r5eRLR24Q3\n29 I will be interviewed on the @TODAYshow at 7:30. Enjoy!\n30 A great night in Fayetteville, North Carolina. Thank you! #ICYMI watch here: https://t.co/ZAuTgxKPpb https://t.co/EF9xRWmciA\n31 Departing New York with General James 'Mad Dog' Mattis for tonight's rally in Fayetteville, North Carolina! See you… https://t.co/Z8sgJBWI09\n32 Masa said he would never do this had we (Trump) not won the election!\n33 Masa (SoftBank) of Japan has agreed to invest $50 billion in the U.S. toward businesses and 50,000 new jobs....\n34 Join me tonight in Fayetteville, North Carolina at 7pm! \\n#ThankYouTour2016 \\nTickets: https://t.co/79AHq3NC0v https://t.co/KoZCE7JeG7\n35 Boeing is building a brand new 747 Air Force One for future presidents, but costs are out of control, more than $4 billion. Cancel order!\n36 #ThankYouTour2016 \\n\\n12/6- North Carolina\\nhttps://t.co/79AHq3NC0v\\n\\n12/8- Iowa\\nhttps://t.co/1IuRTVwMSx\\n\\n12/9- Michiga… https://t.co/vcQaIJ8qoB\n37 If the press would cover me accurately & honorably, I would have far less reason to \"tweet.\" Sadly, I don't know if that will ever happen!\n38 I am thrilled to nominate Dr. @RealBenCarson as our next Secretary of the US Dept. of Housing and Urban Development… https://t.co/OJKuDFhP3r\n39 their country (the U.S. doesn't tax them) or to build a massive military complex in the middle of the South China Sea? I don't think so!\n40 Did China ask us if it was OK to devalue their currency (making it hard for our companies to compete), heavily tax our products going into..\n41 .@FoxNews will be re-running \"Objectified: Donald Trump,\" the ratings hit produced by the great Harvey Levin of TMZ, at 8:00 P.M. Enjoy!\n42 The Green Party just dropped its recount suit in Pennsylvania and is losing votes in Wisconsin recount. Just a Stein scam to raise money!\n43 expensive mistake! THE UNITED STATES IS OPEN FOR BUSINESS\n44 these companies are able to move between all 50 states, with no tax or tariff being charged. Please be forewarned prior to making a very ...\n45 wanting to sell their product, cars, A.C. units etc., back across the border. This tax will make leaving financially difficult, but.....\n46 without retribution or consequence, is WRONG! There will be a tax on our soon to be strong border of 35% for these companies ......\n47 fires its employees, builds a new factory or plant in the other country, and then thinks it will sell its product back into the U.S. ......\n48 The U.S. is going to substantialy reduce taxes and regulations on businesses, but any business that leaves our country for another country,\n49 Just tried watching Saturday Night Live - unwatchable! Totally biased, not funny and the Baldwin impersonation just can't get any worse. Sad\n50 Our great VPE, @mike_pence, is in Louisiana campaigning for John Kennedy for US Senate. John will be a tremendous help to us in Washington.\n51 State Treasurer John Kennedy is my choice for US Senator from Louisiana. Early voting today; election next Saturday.\n52 \"@TigerWoods: Can’t wait to get back out there and mix it up with the boys. –TW #heroworldchallenge\" Great to have you back Tiger - Special!\n53 Rexnord of Indiana is moving to Mexico and rather viciously firing all of its 300 workers. This is happening all over our country. No more!\n54 Interesting how the U.S. sells Taiwan billions of dollars of military equipment but I should not accept a congratulatory call.\n55 The President of Taiwan CALLED ME today to wish me congratulations on winning the Presidency. Thank you!\n56 Thank you Ohio! Together, we made history – and now, the real work begins. America will start winning again!… https://t.co/sVNSNJE7Uf\n57 Heading to U.S. Bank Arena in Cincinnati, Ohio for a 7pm rally. \\nJoin me! Tickets: https://t.co/HiWqZvHv6M\n58 Getting ready to leave for the Great State of Indiana and meet the hard working and wonderful people of Carrier A.C.\n59 My thoughts and prayers are with those affected by the tragic storms and tornadoes in the Southeastern United States. Stay safe!\n60 Look forward to going to Indiana tomorrow in order to be with the great workers of Carrier. They will sell many air conditioners!\n61 'Donald Trump is already helping the working class' https://t.co/GTuNcQhLYx\n62 RT @DanScavino: Great interview on @foxandfriends by @SteveDoocy w/ Carrier employee- who has a message for #PEOTUS @realDonaldTrump & #VPE…\n favorited favoriteCount replyToSN created truncated replyToSID\n1 FALSE 39137 <NA> 2016-12-12 13:26:13 FALSE NA\n2 FALSE 38017 <NA> 2016-12-12 13:21:20 FALSE NA\n3 FALSE 70193 <NA> 2016-12-12 13:17:54 FALSE NA\n4 FALSE 60303 <NA> 2016-12-12 01:02:14 FALSE NA\n5 FALSE 23183 <NA> 2016-12-12 00:32:28 FALSE NA\n6 FALSE 47439 <NA> 2016-12-11 15:29:10 FALSE NA\n7 FALSE 46737 <NA> 2016-12-11 13:51:47 FALSE NA\n8 FALSE 73595 <NA> 2016-12-11 13:12:06 FALSE NA\n9 FALSE 27248 <NA> 2016-12-11 12:56:18 FALSE NA\n10 FALSE 0 <NA> 2016-12-10 19:09:28 FALSE NA\n11 FALSE 25013 <NA> 2016-12-10 19:09:13 FALSE NA\n12 FALSE 0 <NA> 2016-12-10 18:41:12 FALSE NA\n13 FALSE 29111 <NA> 2016-12-10 14:14:23 FALSE NA\n14 FALSE 72018 <NA> 2016-12-10 14:11:49 FALSE NA\n15 FALSE 104310 <NA> 2016-12-10 12:38:24 FALSE NA\n16 FALSE 47720 <NA> 2016-12-10 11:27:22 FALSE NA\n17 FALSE 28532 <NA> 2016-12-10 11:19:24 FALSE NA\n18 FALSE 36311 <NA> 2016-12-10 03:30:50 TRUE NA\n19 FALSE 34822 <NA> 2016-12-09 22:13:21 TRUE NA\n20 FALSE 21820 <NA> 2016-12-09 19:42:30 FALSE NA\n21 FALSE 39208 <NA> 2016-12-09 03:02:04 FALSE NA\n22 FALSE 20212 <NA> 2016-12-08 23:12:11 FALSE NA\n23 FALSE 20966 <NA> 2016-12-08 22:55:24 FALSE NA\n24 FALSE 94447 <NA> 2016-12-08 21:15:52 FALSE NA\n25 FALSE 56572 <NA> 2016-12-08 01:56:40 FALSE NA\n26 FALSE 49372 <NA> 2016-12-08 00:41:48 FALSE NA\n27 FALSE 26381 <NA> 2016-12-07 19:37:32 TRUE NA\n28 FALSE 76899 <NA> 2016-12-07 18:38:00 FALSE NA\n29 FALSE 31812 <NA> 2016-12-07 12:18:56 FALSE NA\n30 FALSE 35752 <NA> 2016-12-07 03:33:20 FALSE NA\n31 FALSE 69750 <NA> 2016-12-06 21:17:45 TRUE NA\n32 FALSE 48495 <NA> 2016-12-06 19:10:27 FALSE NA\n33 FALSE 89167 <NA> 2016-12-06 19:09:49 FALSE NA\n34 FALSE 26263 <NA> 2016-12-06 16:45:27 FALSE NA\n35 FALSE 142705 <NA> 2016-12-06 13:52:35 FALSE NA\n36 FALSE 26649 <NA> 2016-12-05 23:06:43 TRUE NA\n37 FALSE 141640 <NA> 2016-12-05 16:00:27 FALSE NA\n38 FALSE 105178 <NA> 2016-12-05 13:53:11 TRUE NA\n39 FALSE 52071 <NA> 2016-12-04 22:30:22 FALSE NA\n40 FALSE 67723 <NA> 2016-12-04 22:23:55 FALSE NA\n41 FALSE 31252 <NA> 2016-12-04 21:47:21 FALSE NA\n42 FALSE 96175 <NA> 2016-12-04 18:58:43 FALSE NA\n43 FALSE 58575 <NA> 2016-12-04 12:23:27 FALSE NA\n44 FALSE 42290 <NA> 2016-12-04 12:21:01 FALSE NA\n45 FALSE 40545 <NA> 2016-12-04 12:05:35 FALSE NA\n46 FALSE 48667 <NA> 2016-12-04 11:57:41 FALSE NA\n47 FALSE 46469 <NA> 2016-12-04 11:49:06 FALSE NA\n48 FALSE 53584 <NA> 2016-12-04 11:41:47 FALSE NA\n49 FALSE 116297 <NA> 2016-12-04 05:13:58 FALSE NA\n50 FALSE 39424 <NA> 2016-12-03 19:13:01 FALSE NA\n51 FALSE 39135 <NA> 2016-12-03 19:09:40 FALSE NA\n52 FALSE 37906 <NA> 2016-12-03 16:37:27 FALSE NA\n53 FALSE 64771 <NA> 2016-12-03 03:06:41 FALSE NA\n54 FALSE 124147 <NA> 2016-12-03 01:41:30 FALSE NA\n55 FALSE 111952 <NA> 2016-12-03 00:44:20 FALSE NA\n56 FALSE 72487 <NA> 2016-12-02 02:45:18 TRUE NA\n57 FALSE 31229 <NA> 2016-12-01 22:52:10 FALSE NA\n58 FALSE 57636 <NA> 2016-12-01 14:38:09 FALSE NA\n59 FALSE 66118 <NA> 2016-12-01 14:37:57 FALSE NA\n60 FALSE 68116 <NA> 2016-12-01 03:48:35 FALSE NA\n61 FALSE 52577 <NA> 2016-11-30 20:00:14 FALSE NA\n62 FALSE 0 <NA> 2016-11-30 19:51:16 FALSE NA\n id replyToUID\n1 808301935728230404 <NA>\n2 808300706914594816 <NA>\n3 808299841147248640 <NA>\n4 808114703922843649 <NA>\n5 808107215492091904 <NA>\n6 807970490635743237 <NA>\n7 807945982633709570 <NA>\n8 807935995316408322 <NA>\n9 807932020236124160 <NA>\n10 807663539116802048 <NA>\n11 807663477322027008 <NA>\n12 807656426374103041 <NA>\n13 807589280071684096 <NA>\n14 807588632877998081 <NA>\n15 807565127021109252 <NA>\n16 807547249681166336 <NA>\n17 807545243608420352 <NA>\n18 807427326522884096 <NA>\n19 807347429062443009 <NA>\n20 807309464705630208 <NA>\n21 807057700857188355 <NA>\n22 806999846674698240 <NA>\n23 806995622117122048 <NA>\n24 806970576359325696 <NA>\n25 806678853305384960 <NA>\n26 806660011904614408 <NA>\n27 806583438748815361 <NA>\n28 806568460620857349 <NA>\n29 806473064703725568 <NA>\n30 806340792247795715 <NA>\n31 806246271405162500 <NA>\n32 806214236053667842 <NA>\n33 806214078465245185 <NA>\n34 806177746397306883 <NA>\n35 806134244384899072 <NA>\n36 805911307270713348 <NA>\n37 805804034309427200 <NA>\n38 805772007220645888 <NA>\n39 805539770864693253 <NA>\n40 805538149157969924 <NA>\n41 805528947190616065 <NA>\n42 805486509914779649 <NA>\n43 805387038048612356 <NA>\n44 805386422807105536 <NA>\n45 805382541343653888 <NA>\n46 805380553008680961 <NA>\n47 805378393537658880 <NA>\n48 805376548882776064 <NA>\n49 805278955150471168 <NA>\n50 805127720749383680 <NA>\n51 805126876779913216 <NA>\n52 805088569765359616 <NA>\n53 804884532671430658 <NA>\n54 804863098138005504 <NA>\n55 804848711599882240 <NA>\n56 804516764562374656 <NA>\n57 804458095569158144 <NA>\n58 804333771021570048 <NA>\n59 804333718999539712 <NA>\n60 804170300908781570 <NA>\n61 804052438546317312 <NA>\n62 804050182170116096 <NA>\n statusSource\n1 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n2 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n3 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n4 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n5 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n6 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n7 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n8 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n9 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n10 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n11 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n12 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n13 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n14 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n15 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n16 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n17 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n18 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n19 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n20 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n21 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n22 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n23 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n24 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n25 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n26 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n27 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n28 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n29 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n30 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n31 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n32 <a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>\n33 <a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>\n34 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n35 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n36 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n37 <a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>\n38 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n39 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n40 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n41 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n42 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n43 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n44 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n45 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n46 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n47 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n48 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n49 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n50 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n51 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n52 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n53 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n54 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n55 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n56 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n57 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n58 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n59 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n60 <a href=\"http://twitter.com/download/android\" rel=\"nofollow\">Twitter for Android</a>\n61 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n62 <a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>\n screenName retweetCount isRetweet retweeted longitude latitude\n1 realDonaldTrump 11549 FALSE FALSE <NA> <NA>\n2 realDonaldTrump 11013 FALSE FALSE <NA> <NA>\n3 realDonaldTrump 23649 FALSE FALSE <NA> <NA>\n4 realDonaldTrump 17402 FALSE FALSE <NA> <NA>\n5 realDonaldTrump 4859 FALSE FALSE <NA> <NA>\n6 realDonaldTrump 11580 FALSE FALSE <NA> <NA>\n7 realDonaldTrump 9321 FALSE FALSE <NA> <NA>\n8 realDonaldTrump 12449 FALSE FALSE <NA> <NA>\n9 realDonaldTrump 5369 FALSE FALSE <NA> <NA>\n10 realDonaldTrump 5640 TRUE FALSE <NA> <NA>\n11 realDonaldTrump 6749 FALSE FALSE <NA> <NA>\n12 realDonaldTrump 6192 TRUE FALSE <NA> <NA>\n13 realDonaldTrump 11716 FALSE FALSE <NA> <NA>\n14 realDonaldTrump 24750 FALSE FALSE <NA> <NA>\n15 realDonaldTrump 18645 FALSE FALSE <NA> <NA>\n16 realDonaldTrump 11035 FALSE FALSE <NA> <NA>\n17 realDonaldTrump 7019 FALSE FALSE <NA> <NA>\n18 realDonaldTrump 8885 FALSE FALSE <NA> <NA>\n19 realDonaldTrump 8853 FALSE FALSE <NA> <NA>\n20 realDonaldTrump 5220 FALSE FALSE <NA> <NA>\n21 realDonaldTrump 9143 FALSE FALSE <NA> <NA>\n22 realDonaldTrump 5826 FALSE FALSE <NA> <NA>\n23 realDonaldTrump 3986 FALSE FALSE <NA> <NA>\n24 realDonaldTrump 20253 FALSE FALSE <NA> <NA>\n25 realDonaldTrump 14022 FALSE FALSE <NA> <NA>\n26 realDonaldTrump 12786 FALSE FALSE <NA> <NA>\n27 realDonaldTrump 6215 FALSE FALSE <NA> <NA>\n28 realDonaldTrump 18680 FALSE FALSE <NA> <NA>\n29 realDonaldTrump 5319 FALSE FALSE <NA> <NA>\n30 realDonaldTrump 7625 FALSE FALSE <NA> <NA>\n31 realDonaldTrump 14189 FALSE FALSE <NA> <NA>\n32 realDonaldTrump 13263 FALSE FALSE <NA> <NA>\n33 realDonaldTrump 29100 FALSE FALSE <NA> <NA>\n34 realDonaldTrump 6512 FALSE FALSE <NA> <NA>\n35 realDonaldTrump 43403 FALSE FALSE <NA> <NA>\n36 realDonaldTrump 8175 FALSE FALSE <NA> <NA>\n37 realDonaldTrump 38739 FALSE FALSE <NA> <NA>\n38 realDonaldTrump 26688 FALSE FALSE <NA> <NA>\n39 realDonaldTrump 14585 FALSE FALSE <NA> <NA>\n40 realDonaldTrump 20801 FALSE FALSE <NA> <NA>\n41 realDonaldTrump 6512 FALSE FALSE <NA> <NA>\n42 realDonaldTrump 25887 FALSE FALSE <NA> <NA>\n43 realDonaldTrump 15074 FALSE FALSE <NA> <NA>\n44 realDonaldTrump 10400 FALSE FALSE <NA> <NA>\n45 realDonaldTrump 9742 FALSE FALSE <NA> <NA>\n46 realDonaldTrump 12418 FALSE FALSE <NA> <NA>\n47 realDonaldTrump 12132 FALSE FALSE <NA> <NA>\n48 realDonaldTrump 13836 FALSE FALSE <NA> <NA>\n49 realDonaldTrump 28446 FALSE FALSE <NA> <NA>\n50 realDonaldTrump 9266 FALSE FALSE <NA> <NA>\n51 realDonaldTrump 9865 FALSE FALSE <NA> <NA>\n52 realDonaldTrump 9413 FALSE FALSE <NA> <NA>\n53 realDonaldTrump 17600 FALSE FALSE <NA> <NA>\n54 realDonaldTrump 39365 FALSE FALSE <NA> <NA>\n55 realDonaldTrump 25004 FALSE FALSE <NA> <NA>\n56 realDonaldTrump 17443 FALSE FALSE <NA> <NA>\n57 realDonaldTrump 5586 FALSE FALSE <NA> <NA>\n58 realDonaldTrump 9923 FALSE FALSE <NA> <NA>\n59 realDonaldTrump 12163 FALSE FALSE <NA> <NA>\n60 realDonaldTrump 12782 FALSE FALSE <NA> <NA>\n61 realDonaldTrump 14912 FALSE FALSE <NA> <NA>\n62 realDonaldTrump 7413 TRUE FALSE <NA> <NA>\n [ reached getOption(\"max.print\") -- omitted 938 rows ]\n","console":"<pre class='debug-source'>>library("twitteR")\n</pre>\n<pre class='debug-source'>>library("ROAuth")\n</pre>\n<pre class='debug-source'>>library("lubridate")\n</pre>\n<pre class='debug-message'>\nAttaching package: 'lubridate'\n\n</pre>\n<pre class='debug-message'>The following object is masked from 'package:base':\n\n date\n\n</pre>\n<pre class='debug-source'>>\n</pre>\n<pre class='debug-source'>>#consumer_key <- 'f5eUFc1cpaZrVQ1UdnrLWWsbt'\n</pre>\n<pre class='debug-source'>>#consumer_secret <- 'N4wDU4YEZo7yNbjIlPbISdv5SAv3Nr6tkUvCV1ANQpneYu6smc'\n</pre>\n<pre class='debug-source'>>#access_token <- '150042833-VKA39Bc6vk3P0Qg7KAzeSgWYvhDHRVAHnC0DQYM7'\n</pre>\n<pre class='debug-source'>>#access_secret <- '4nsczQqfZNOTrup9etI1BrFIOJVR6Rk1MWSL3aslxRzGS'\n</pre>\n<pre class='debug-source'>>\n</pre>\n<pre class='debug-source'>>setup_twitter_oauth(consumer_key, consumer_secret, access_token, access_secret)\n</pre>\n<pre class='debug-out'>[1] "Using direct authentication"\n</pre>\n<pre class='debug-source'>>\n</pre>\n<pre class='debug-source'>>tweets.user.1 <- userTimeline("realDonaldTrump", n = 1000, maxID=NULL, sinceID=NULL, includeRts=TRUE)\n</pre>\n<pre class='debug-source'>>tweets.user.1 <- twListToDF(tweets.user.1)\n</pre>\n<pre class='debug-source'>>#tweets.user$txtdate <- as.Date(tweets.user$created)\n</pre>\n<pre class='debug-source'>>tweets.user.1\n</pre>\n<pre class='debug-out'> text\n1 The F-35 program and cost is out of control. Billions of dollars can and will be saved on military (and other) purchases after January 20th.\n2 Unless you catch "hackers" in the act, it is very hard to determine who was doing the hacking. Why wasn't this brought up before election?\n3 Can you imagine if the election results were the opposite and WE tried to play the Russia/CIA card. It would be called conspiracy theory!\n4 Just watched @NBCNightlyNews - So biased, inaccurate and bad, point after point. Just can't get much worse, although @CNN is right up there!\n5 Will be interviewed on @FoxNews at 10:00 P.M. Enjoy!\n6 Whether I choose him or not for "State"- Rex Tillerson, the Chairman &amp; CEO of ExxonMobil, is a world class player and dealmaker. Stay tuned!\n7 I spent Friday campaigning with John Kennedy, of the Great State of Louisiana, for the U.S.Senate. The election is over - JOHN WON!\n8 Being at the Army - Navy Game was fantastic. There is nothing like the spirit in that stadium. A wonderful experience, and congrats to Army!\n9 I will be interviewed today on Fox News Sunday with Chris Wallace at 10:00 (Eastern) Network. ENJOY!\n10 RT @FoxNewsSunday: Sunday-- our exclusive interview with President-elect @realDonaldTrump \\nWatch on @FoxNews at 2p/10p ET \\nCheck your local…\n11 October 2015 - thanks Chris Wallace @FoxNewsSunday! https://t.co/VEsgPcWq7z\n12 RT @TrumpInaugural: Counting down the days until the swearing in of @realDonaldTrump &amp; @mike_pence. Check in here for the latest updates. #…\n13 A very interesting read. Unfortunately, so much is true.\\nhttps://t.co/ER2BoM765M\n14 Reports by @CNN that I will be working on The Apprentice during my Presidency, even part time, are ridiculous &amp; untrue - FAKE NEWS!\n15 As a show of support for our Armed Forces, I will be going to The Army-Navy Game today. Looking forward to it, should be fun!\n16 I have NOTHING to do with The Apprentice except for fact that I conceived it with Mark B &amp; have a big stake in it. Will devote ZERO TIME!\n17 .@RudyGiuliani, one of the finest people I know and a former GREAT Mayor of N.Y.C., just took himself out of consideration for "State".\n18 Thank you Michigan. We are going to bring back your jobs &amp; together, we will MAKE AMERICA GREAT AGAIN!\\nWatch:… https://t.co/EyLOo26FqW\n19 Thank you Louisiana! Get out &amp; vote for John Kennedy tomorrow. Electing Kennedy will help enact our agenda on behal… https://t.co/sHXeyreEZI\n20 Join me live in Louisiana! Tomorrow, we need you to go to the polls &amp; send John Kennedy to the U.S. Senate. https://t.co/O0jtz0BKeL\n21 THANK YOU IOWA!\\n#ThankYouTour2016 https://t.co/v6EB2OQMeO\n22 Join me tomorrow! #MAGA \\n10am- Baton Rouge, LA. \\nTickets: https://t.co/rvIQ6Yq45P\\n7pm- Grand Rapids, MI.\\nTickets: https://t.co/2UTwAg5V87\n23 On my way to Des Moines, Iowa- will see you soon with @mike_pence. Join us! Tickets: https://t.co/1IuRTVwMSx #ThankYouTour2016\n24 Today we lost a great pioneer of air and space in John Glenn. He was a hero and inspired generations of future explorers. He will be missed.\n25 If United Steelworkers 1999 was any good, they would have kept those jobs in Indiana. Spend more time working-less time talking. Reduce dues\n26 Chuck Jones, who is President of United Steelworkers 1999, has done a terrible job representing workers. No wonder companies flee country!\n27 Join me tomorrow in Des Moines, Iowa with Vice President-Elect @mike_pence - at 7:00pm!\\n#ThankYouTour2016 #MAGA… https://t.co/Geq6sT70IT\n28 We pause today to remember the 2,403 American heroes who selflessly gave their lives at Pearl Harbor 75 years ago...\\nhttps://t.co/r5eRLR24Q3\n29 I will be interviewed on the @TODAYshow at 7:30. Enjoy!\n30 A great night in Fayetteville, North Carolina. Thank you! #ICYMI watch here: https://t.co/ZAuTgxKPpb https://t.co/EF9xRWmciA\n31 Departing New York with General James 'Mad Dog' Mattis for tonight's rally in Fayetteville, North Carolina! See you… https://t.co/Z8sgJBWI09\n32 Masa said he would never do this had we (Trump) not won the election!\n33 Masa (SoftBank) of Japan has agreed to invest $50 billion in the U.S. toward businesses and 50,000 new jobs....\n34 Join me tonight in Fayetteville, North Carolina at 7pm! \\n#ThankYouTour2016 \\nTickets: https://t.co/79AHq3NC0v https://t.co/KoZCE7JeG7\n35 Boeing is building a brand new 747 Air Force One for future presidents, but costs are out of control, more than $4 billion. Cancel order!\n36 #ThankYouTour2016 \\n\\n12/6- North Carolina\\nhttps://t.co/79AHq3NC0v\\n\\n12/8- Iowa\\nhttps://t.co/1IuRTVwMSx\\n\\n12/9- Michiga… https://t.co/vcQaIJ8qoB\n37 If the press would cover me accurately &amp; honorably, I would have far less reason to "tweet." Sadly, I don't know if that will ever happen!\n38 I am thrilled to nominate Dr. @RealBenCarson as our next Secretary of the US Dept. of Housing and Urban Development… https://t.co/OJKuDFhP3r\n39 their country (the U.S. doesn't tax them) or to build a massive military complex in the middle of the South China Sea? I don't think so!\n40 Did China ask us if it was OK to devalue their currency (making it hard for our companies to compete), heavily tax our products going into..\n41 .@FoxNews will be re-running "Objectified: Donald Trump," the ratings hit produced by the great Harvey Levin of TMZ, at 8:00 P.M. Enjoy!\n42 The Green Party just dropped its recount suit in Pennsylvania and is losing votes in Wisconsin recount. Just a Stein scam to raise money!\n43 expensive mistake! THE UNITED STATES IS OPEN FOR BUSINESS\n44 these companies are able to move between all 50 states, with no tax or tariff being charged. Please be forewarned prior to making a very ...\n45 wanting to sell their product, cars, A.C. units etc., back across the border. This tax will make leaving financially difficult, but.....\n46 without retribution or consequence, is WRONG! There will be a tax on our soon to be strong border of 35% for these companies ......\n47 fires its employees, builds a new factory or plant in the other country, and then thinks it will sell its product back into the U.S. ......\n48 The U.S. is going to substantialy reduce taxes and regulations on businesses, but any business that leaves our country for another country,\n49 Just tried watching Saturday Night Live - unwatchable! Totally biased, not funny and the Baldwin impersonation just can't get any worse. Sad\n50 Our great VPE, @mike_pence, is in Louisiana campaigning for John Kennedy for US Senate. John will be a tremendous help to us in Washington.\n51 State Treasurer John Kennedy is my choice for US Senator from Louisiana. Early voting today; election next Saturday.\n52 "@TigerWoods: Can’t wait to get back out there and mix it up with the boys. –TW #heroworldchallenge" Great to have you back Tiger - Special!\n53 Rexnord of Indiana is moving to Mexico and rather viciously firing all of its 300 workers. This is happening all over our country. No more!\n54 Interesting how the U.S. sells Taiwan billions of dollars of military equipment but I should not accept a congratulatory call.\n55 The President of Taiwan CALLED ME today to wish me congratulations on winning the Presidency. Thank you!\n56 Thank you Ohio! Together, we made history – and now, the real work begins. America will start winning again!… https://t.co/sVNSNJE7Uf\n57 Heading to U.S. Bank Arena in Cincinnati, Ohio for a 7pm rally. \\nJoin me! Tickets: https://t.co/HiWqZvHv6M\n58 Getting ready to leave for the Great State of Indiana and meet the hard working and wonderful people of Carrier A.C.\n59 My thoughts and prayers are with those affected by the tragic storms and tornadoes in the Southeastern United States. Stay safe!\n60 Look forward to going to Indiana tomorrow in order to be with the great workers of Carrier. They will sell many air conditioners!\n61 'Donald Trump is already helping the working class' https://t.co/GTuNcQhLYx\n62 RT @DanScavino: Great interview on @foxandfriends by @SteveDoocy w/ Carrier employee- who has a message for #PEOTUS @realDonaldTrump &amp; #VPE…\n favorited favoriteCount replyToSN created truncated replyToSID\n1 FALSE 39137 <NA> 2016-12-12 13:26:13 FALSE NA\n2 FALSE 38017 <NA> 2016-12-12 13:21:20 FALSE NA\n3 FALSE 70193 <NA> 2016-12-12 13:17:54 FALSE NA\n4 FALSE 60303 <NA> 2016-12-12 01:02:14 FALSE NA\n5 FALSE 23183 <NA> 2016-12-12 00:32:28 FALSE NA\n6 FALSE 47439 <NA> 2016-12-11 15:29:10 FALSE NA\n7 FALSE 46737 <NA> 2016-12-11 13:51:47 FALSE NA\n8 FALSE 73595 <NA> 2016-12-11 13:12:06 FALSE NA\n9 FALSE 27248 <NA> 2016-12-11 12:56:18 FALSE NA\n10 FALSE 0 <NA> 2016-12-10 19:09:28 FALSE NA\n11 FALSE 25013 <NA> 2016-12-10 19:09:13 FALSE NA\n12 FALSE 0 <NA> 2016-12-10 18:41:12 FALSE NA\n13 FALSE 29111 <NA> 2016-12-10 14:14:23 FALSE NA\n14 FALSE 72018 <NA> 2016-12-10 14:11:49 FALSE NA\n15 FALSE 104310 <NA> 2016-12-10 12:38:24 FALSE NA\n16 FALSE 47720 <NA> 2016-12-10 11:27:22 FALSE NA\n17 FALSE 28532 <NA> 2016-12-10 11:19:24 FALSE NA\n18 FALSE 36311 <NA> 2016-12-10 03:30:50 TRUE NA\n19 FALSE 34822 <NA> 2016-12-09 22:13:21 TRUE NA\n20 FALSE 21820 <NA> 2016-12-09 19:42:30 FALSE NA\n21 FALSE 39208 <NA> 2016-12-09 03:02:04 FALSE NA\n22 FALSE 20212 <NA> 2016-12-08 23:12:11 FALSE NA\n23 FALSE 20966 <NA> 2016-12-08 22:55:24 FALSE NA\n24 FALSE 94447 <NA> 2016-12-08 21:15:52 FALSE NA\n25 FALSE 56572 <NA> 2016-12-08 01:56:40 FALSE NA\n26 FALSE 49372 <NA> 2016-12-08 00:41:48 FALSE NA\n27 FALSE 26381 <NA> 2016-12-07 19:37:32 TRUE NA\n28 FALSE 76899 <NA> 2016-12-07 18:38:00 FALSE NA\n29 FALSE 31812 <NA> 2016-12-07 12:18:56 FALSE NA\n30 FALSE 35752 <NA> 2016-12-07 03:33:20 FALSE NA\n31 FALSE 69750 <NA> 2016-12-06 21:17:45 TRUE NA\n32 FALSE 48495 <NA> 2016-12-06 19:10:27 FALSE NA\n33 FALSE 89167 <NA> 2016-12-06 19:09:49 FALSE NA\n34 FALSE 26263 <NA> 2016-12-06 16:45:27 FALSE NA\n35 FALSE 142705 <NA> 2016-12-06 13:52:35 FALSE NA\n36 FALSE 26649 <NA> 2016-12-05 23:06:43 TRUE NA\n37 FALSE 141640 <NA> 2016-12-05 16:00:27 FALSE NA\n38 FALSE 105178 <NA> 2016-12-05 13:53:11 TRUE NA\n39 FALSE 52071 <NA> 2016-12-04 22:30:22 FALSE NA\n40 FALSE 67723 <NA> 2016-12-04 22:23:55 FALSE NA\n41 FALSE 31252 <NA> 2016-12-04 21:47:21 FALSE NA\n42 FALSE 96175 <NA> 2016-12-04 18:58:43 FALSE NA\n43 FALSE 58575 <NA> 2016-12-04 12:23:27 FALSE NA\n44 FALSE 42290 <NA> 2016-12-04 12:21:01 FALSE NA\n45 FALSE 40545 <NA> 2016-12-04 12:05:35 FALSE NA\n46 FALSE 48667 <NA> 2016-12-04 11:57:41 FALSE NA\n47 FALSE 46469 <NA> 2016-12-04 11:49:06 FALSE NA\n48 FALSE 53584 <NA> 2016-12-04 11:41:47 FALSE NA\n49 FALSE 116297 <NA> 2016-12-04 05:13:58 FALSE NA\n50 FALSE 39424 <NA> 2016-12-03 19:13:01 FALSE NA\n51 FALSE 39135 <NA> 2016-12-03 19:09:40 FALSE NA\n52 FALSE 37906 <NA> 2016-12-03 16:37:27 FALSE NA\n53 FALSE 64771 <NA> 2016-12-03 03:06:41 FALSE NA\n54 FALSE 124147 <NA> 2016-12-03 01:41:30 FALSE NA\n55 FALSE 111952 <NA> 2016-12-03 00:44:20 FALSE NA\n56 FALSE 72487 <NA> 2016-12-02 02:45:18 TRUE NA\n57 FALSE 31229 <NA> 2016-12-01 22:52:10 FALSE NA\n58 FALSE 57636 <NA> 2016-12-01 14:38:09 FALSE NA\n59 FALSE 66118 <NA> 2016-12-01 14:37:57 FALSE NA\n60 FALSE 68116 <NA> 2016-12-01 03:48:35 FALSE NA\n61 FALSE 52577 <NA> 2016-11-30 20:00:14 FALSE NA\n62 FALSE 0 <NA> 2016-11-30 19:51:16 FALSE NA\n id replyToUID\n1 808301935728230404 <NA>\n2 808300706914594816 <NA>\n3 808299841147248640 <NA>\n4 808114703922843649 <NA>\n5 808107215492091904 <NA>\n6 807970490635743237 <NA>\n7 807945982633709570 <NA>\n8 807935995316408322 <NA>\n9 807932020236124160 <NA>\n10 807663539116802048 <NA>\n11 807663477322027008 <NA>\n12 807656426374103041 <NA>\n13 807589280071684096 <NA>\n14 807588632877998081 <NA>\n15 807565127021109252 <NA>\n16 807547249681166336 <NA>\n17 807545243608420352 <NA>\n18 807427326522884096 <NA>\n19 807347429062443009 <NA>\n20 807309464705630208 <NA>\n21 807057700857188355 <NA>\n22 806999846674698240 <NA>\n23 806995622117122048 <NA>\n24 806970576359325696 <NA>\n25 806678853305384960 <NA>\n26 806660011904614408 <NA>\n27 806583438748815361 <NA>\n28 806568460620857349 <NA>\n29 806473064703725568 <NA>\n30 806340792247795715 <NA>\n31 806246271405162500 <NA>\n32 806214236053667842 <NA>\n33 806214078465245185 <NA>\n34 806177746397306883 <NA>\n35 806134244384899072 <NA>\n36 805911307270713348 <NA>\n37 805804034309427200 <NA>\n38 805772007220645888 <NA>\n39 805539770864693253 <NA>\n40 805538149157969924 <NA>\n41 805528947190616065 <NA>\n42 805486509914779649 <NA>\n43 805387038048612356 <NA>\n44 805386422807105536 <NA>\n45 805382541343653888 <NA>\n46 805380553008680961 <NA>\n47 805378393537658880 <NA>\n48 805376548882776064 <NA>\n49 805278955150471168 <NA>\n50 805127720749383680 <NA>\n51 805126876779913216 <NA>\n52 805088569765359616 <NA>\n53 804884532671430658 <NA>\n54 804863098138005504 <NA>\n55 804848711599882240 <NA>\n56 804516764562374656 <NA>\n57 804458095569158144 <NA>\n58 804333771021570048 <NA>\n59 804333718999539712 <NA>\n60 804170300908781570 <NA>\n61 804052438546317312 <NA>\n62 804050182170116096 <NA>\n statusSource\n1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n2 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n4 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n6 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n7 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n8 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n9 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n10 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n11 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n12 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n13 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n14 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n15 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n16 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n17 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n18 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n19 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n20 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n21 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n22 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n23 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n24 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n25 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n26 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n27 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n28 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n29 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n30 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n31 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n32 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>\n33 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>\n34 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n35 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n36 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n37 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>\n38 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n39 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n40 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n41 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n42 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n43 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n44 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n45 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n46 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n47 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n48 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n49 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n50 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n51 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n52 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n53 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n54 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n55 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n56 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n57 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n58 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n59 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n60 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>\n61 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n62 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>\n screenName retweetCount isRetweet retweeted longitude latitude\n1 realDonaldTrump 11549 FALSE FALSE <NA> <NA>\n2 realDonaldTrump 11013 FALSE FALSE <NA> <NA>\n3 realDonaldTrump 23649 FALSE FALSE <NA> <NA>\n4 realDonaldTrump 17402 FALSE FALSE <NA> <NA>\n5 realDonaldTrump 4859 FALSE FALSE <NA> <NA>\n6 realDonaldTrump 11580 FALSE FALSE <NA> <NA>\n7 realDonaldTrump 9321 FALSE FALSE <NA> <NA>\n8 realDonaldTrump 12449 FALSE FALSE <NA> <NA>\n9 realDonaldTrump 5369 FALSE FALSE <NA> <NA>\n10 realDonaldTrump 5640 TRUE FALSE <NA> <NA>\n11 realDonaldTrump 6749 FALSE FALSE <NA> <NA>\n12 realDonaldTrump 6192 TRUE FALSE <NA> <NA>\n13 realDonaldTrump 11716 FALSE FALSE <NA> <NA>\n14 realDonaldTrump 24750 FALSE FALSE <NA> <NA>\n15 realDonaldTrump 18645 FALSE FALSE <NA> <NA>\n16 realDonaldTrump 11035 FALSE FALSE <NA> <NA>\n17 realDonaldTrump 7019 FALSE FALSE <NA> <NA>\n18 realDonaldTrump 8885 FALSE FALSE <NA> <NA>\n19 realDonaldTrump 8853 FALSE FALSE <NA> <NA>\n20 realDonaldTrump 5220 FALSE FALSE <NA> <NA>\n21 realDonaldTrump 9143 FALSE FALSE <NA> <NA>\n22 realDonaldTrump 5826 FALSE FALSE <NA> <NA>\n23 realDonaldTrump 3986 FALSE FALSE <NA> <NA>\n24 realDonaldTrump 20253 FALSE FALSE <NA> <NA>\n25 realDonaldTrump 14022 FALSE FALSE <NA> <NA>\n26 realDonaldTrump 12786 FALSE FALSE <NA> <NA>\n27 realDonaldTrump 6215 FALSE FALSE <NA> <NA>\n28 realDonaldTrump 18680 FALSE FALSE <NA> <NA>\n29 realDonaldTrump 5319 FALSE FALSE <NA> <NA>\n30 realDonaldTrump 7625 FALSE FALSE <NA> <NA>\n31 realDonaldTrump 14189 FALSE FALSE <NA> <NA>\n32 realDonaldTrump 13263 FALSE FALSE <NA> <NA>\n33 realDonaldTrump 29100 FALSE FALSE <NA> <NA>\n34 realDonaldTrump 6512 FALSE FALSE <NA> <NA>\n35 realDonaldTrump 43403 FALSE FALSE <NA> <NA>\n36 realDonaldTrump 8175 FALSE FALSE <NA> <NA>\n37 realDonaldTrump 38739 FALSE FALSE <NA> <NA>\n38 realDonaldTrump 26688 FALSE FALSE <NA> <NA>\n39 realDonaldTrump 14585 FALSE FALSE <NA> <NA>\n40 realDonaldTrump 20801 FALSE FALSE <NA> <NA>\n41 realDonaldTrump 6512 FALSE FALSE <NA> <NA>\n42 realDonaldTrump 25887 FALSE FALSE <NA> <NA>\n43 realDonaldTrump 15074 FALSE FALSE <NA> <NA>\n44 realDonaldTrump 10400 FALSE FALSE <NA> <NA>\n45 realDonaldTrump 9742 FALSE FALSE <NA> <NA>\n46 realDonaldTrump 12418 FALSE FALSE <NA> <NA>\n47 realDonaldTrump 12132 FALSE FALSE <NA> <NA>\n48 realDonaldTrump 13836 FALSE FALSE <NA> <NA>\n49 realDonaldTrump 28446 FALSE FALSE <NA> <NA>\n50 realDonaldTrump 9266 FALSE FALSE <NA> <NA>\n51 realDonaldTrump 9865 FALSE FALSE <NA> <NA>\n52 realDonaldTrump 9413 FALSE FALSE <NA> <NA>\n53 realDonaldTrump 17600 FALSE FALSE <NA> <NA>\n54 realDonaldTrump 39365 FALSE FALSE <NA> <NA>\n55 realDonaldTrump 25004 FALSE FALSE <NA> <NA>\n56 realDonaldTrump 17443 FALSE FALSE <NA> <NA>\n57 realDonaldTrump 5586 FALSE FALSE <NA> <NA>\n58 realDonaldTrump 9923 FALSE FALSE <NA> <NA>\n59 realDonaldTrump 12163 FALSE FALSE <NA> <NA>\n60 realDonaldTrump 12782 FALSE FALSE <NA> <NA>\n61 realDonaldTrump 14912 FALSE FALSE <NA> <NA>\n62 realDonaldTrump 7413 TRUE FALSE <NA> <NA>\n [ reached getOption("max.print") -- omitted 938 rows ]\n</pre>\r\n<div class=\"debug-summarystatistics\">\r\n<table>\r\n<tr><th>Total time:</th><td>21.17s</td></tr>\r\n<tr><th>Time on R server:</th><td title=\"rApacheServe 20.95s (pre 0.00s, post 0.00s) httpget_code() setup for eval 0.00s session$eval 20.63s (pre 0.00s, post 1.07s) unexplained 0.32s apparmor forking (pre 0.03s, post 0.00s)\">20.95s</td></tr>\r\n<tr><th>Time evaluating code:</th><td>19.53s</td></tr>\r\n<tr><th>Bytes sent:</th><td>2,429</td></tr>\r\n<tr><th>Bytes received:</th><td>419,986</td></tr>\r\n</table>\r\n</div>","message":"\nAttaching package: 'lubridate'\n\n\r\nThe following object is masked from 'package:base':\n\n date\n\n","warning":"","table":"{\"Dimensions\":[{\"IsStatistic\":true,\"Elements\":[{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement0\",\"Name\":\"text\",\"WrappedName\":[\"text\"],\"IsText\":true},{\"IsNumber\":false,\"IsBoolean\":true,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement1\",\"Name\":\"favorited\",\"WrappedName\":[\"favorited\"],\"IsText\":false},{\"IsNumber\":true,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement2\",\"Name\":\"favoriteCount\",\"WrappedName\":[\"favorit-\",\"eCount\"],\"IsText\":false},{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement3\",\"Name\":\"replyToSN\",\"WrappedName\":[\"reply-\",\"ToSN\"],\"IsText\":true},{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":true,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement4\",\"Name\":\"created\",\"WrappedName\":[\"created\"],\"IsText\":false},{\"IsNumber\":false,\"IsBoolean\":true,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement5\",\"Name\":\"truncated\",\"WrappedName\":[\"trunc-\",\"ated\"],\"IsText\":false},{\"IsNumber\":false,\"IsBoolean\":true,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement6\",\"Name\":\"replyToSID\",\"WrappedName\":[\"replyT-\",\"oSID\"],\"IsText\":false},{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement7\",\"Name\":\"id\",\"WrappedName\":[\"id\"],\"IsText\":true},{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement8\",\"Name\":\"replyToUID\",\"WrappedName\":[\"replyT-\",\"oUID\"],\"IsText\":true},{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement9\",\"Name\":\"statusSource\",\"WrappedName\":[\"statusS-\",\"ource\"],\"IsText\":true},{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement10\",\"Name\":\"screenName\",\"WrappedName\":[\"screen-\",\"Name\"],\"IsText\":true},{\"IsNumber\":true,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement11\",\"Name\":\"retweetCount\",\"WrappedName\":[\"retweet-\",\"Count\"],\"IsText\":false},{\"IsNumber\":false,\"IsBoolean\":true,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement12\",\"Name\":\"isRetweet\",\"WrappedName\":[\"isRet-\",\"weet\"],\"IsText\":false},{\"IsNumber\":false,\"IsBoolean\":true,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement13\",\"Name\":\"retweeted\",\"WrappedName\":[\"retwe-\",\"eted\"],\"IsText\":false},{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement14\",\"Name\":\"longitude\",\"WrappedName\":[\"longitude\"],\"IsText\":true},{\"IsNumber\":false,\"IsBoolean\":false,\"IsDateTime\":false,\"IsPercent\":false,\"HasDecimalPlaces\":true,\"DecimalPlaces\":1,\"MoneySymbol\":null,\"IsCategorical\":false,\"Categories\":[],\"SeriesType\":0,\"Id\":\"StatisticsElement15\",\"Name\":\"latitude\",\"WrappedName\":[\"latitude\"],\"IsText\":true}],\"Id\":\"StatisticsDimensionID\",\"Name\":null,\"WrappedName\":null,\"Tiers\":[],\"Count\":16},{\"IsStatistic\":false,\"Elements\":[{\"Id\":\"RowDimensionElement0\",\"Name\":\"1\",\"WrappedName\":[\"1\"]},{\"Id\":\"RowDimensionElement1\",\"Name\":\"2\",\"WrappedName\":[\"2\"]},{\"Id\":\"RowDimensionElement2\",\"Name\":\"3\",\"WrappedName\":[\"3\"]},{\"Id\":\"RowDimensionElement3\",\"Name\":\"4\",\"WrappedName\":[\"4\"]},{\"Id\":\"RowDimensionElement4\",\"Name\":\"5\",\"WrappedName\":[\"5\"]},{\"Id\":\"RowDimensionElement5\",\"Name\":\"6\",\"WrappedName\":[\"6\"]}],\"Id\":\"RowCategoricalDimension\",\"Name\":null,\"WrappedName\":null,\"Tiers\":[],\"Count\":6}],\"DataPoints\":[[{\"Value\":\"The F-35 program and cost is out of control. Billions of dollars can and will be saved on military (and other) purchases after January 20th.\",\"WrappedText\":[\"The F-35 program and cost is out of control. Billions of\",\"dollars can and will be saved on military (and other)\",\"purchases after January 20th.\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"Unless you catch \\\"hackers\\\" in the act, it is very hard to determine who was doing the hacking. Why wasn't this brought up before election?\",\"WrappedText\":[\"Unless you catch \\\"hackers\\\" in the act, it is very hard to\",\"determine who was doing the hacking. Why wasn't this\",\"brought up before election?\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"Can you imagine if the election results were the opposite and WE tried to play the Russia/CIA card. It would be called conspiracy theory!\",\"WrappedText\":[\"Can you imagine if the election results were the opposite\",\"and WE tried to play the Russia/CIA card. It would be called\",\"conspiracy theory!\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"Just watched @NBCNightlyNews - So biased, inaccurate and bad, point after point. Just can't get much worse, although @CNN is right up there!\",\"WrappedText\":[\"Just watched @NBCNightlyNews - So biased, inaccurate and\",\"bad, point after point. Just can't get much worse, although\",\"@CNN is right up there!\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"Will be interviewed on @FoxNews at 10:00 P.M. Enjoy!\",\"WrappedText\":[\"Will be interviewed on @FoxNews at 10:00 P.M. Enjoy!\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"Whether I choose him or not for \\\"State\\\"- Rex Tillerson, the Chairman & CEO of ExxonMobil, is a world class player and dealmaker. Stay tuned!\",\"WrappedText\":[\"Whether I choose him or not for \\\"State\\\"- Rex Tillerson, the\",\"Chairman & CEO of ExxonMobil, is a world class player\",\"and dealmaker. Stay tuned!\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":39137.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":38017.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":70193.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":60303.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":23183.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":47439.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":\"2016-12-12T13:26:13\",\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"2016-12-12T13:21:20\",\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"2016-12-12T13:17:54\",\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"2016-12-12T01:02:14\",\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"2016-12-12T00:32:28\",\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"2016-12-11T15:29:10\",\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":null,\"WrappedText\":null,\"IsBlank\":true,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":true,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":true,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":true,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":true,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":true,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":\"808301935728230404\",\"WrappedText\":[\"8083019357-\",\"28230404\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"808300706914594816\",\"WrappedText\":[\"8083007069-\",\"14594816\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"808299841147248640\",\"WrappedText\":[\"8082998411-\",\"47248640\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"808114703922843649\",\"WrappedText\":[\"8081147039-\",\"22843649\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"808107215492091904\",\"WrappedText\":[\"8081072154-\",\"92091904\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"807970490635743237\",\"WrappedText\":[\"8079704906-\",\"35743237\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":\"<a href=\\\"http://twitter.com/download/android\\\" rel=\\\"nofollow\\\">Twitter for Android</a>\",\"WrappedText\":[\"<a href=\\\"http://\",\"twitter.com/\",\"download/\",\"android\\\" rel=\",\"\\\"nofollow\\\"-\",\">Twitter for Andr-\",\"oid</a>\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"<a href=\\\"http://twitter.com/download/android\\\" rel=\\\"nofollow\\\">Twitter for Android</a>\",\"WrappedText\":[\"<a href=\\\"http://\",\"twitter.com/\",\"download/\",\"android\\\" rel=\",\"\\\"nofollow\\\"-\",\">Twitter for Andr-\",\"oid</a>\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"<a href=\\\"http://twitter.com/download/android\\\" rel=\\\"nofollow\\\">Twitter for Android</a>\",\"WrappedText\":[\"<a href=\\\"http://\",\"twitter.com/\",\"download/\",\"android\\\" rel=\",\"\\\"nofollow\\\"-\",\">Twitter for Andr-\",\"oid</a>\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"<a href=\\\"http://twitter.com/download/android\\\" rel=\\\"nofollow\\\">Twitter for Android</a>\",\"WrappedText\":[\"<a href=\\\"http://\",\"twitter.com/\",\"download/\",\"android\\\" rel=\",\"\\\"nofollow\\\"-\",\">Twitter for Andr-\",\"oid</a>\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"<a href=\\\"http://twitter.com/download/android\\\" rel=\\\"nofollow\\\">Twitter for Android</a>\",\"WrappedText\":[\"<a href=\\\"http://\",\"twitter.com/\",\"download/\",\"android\\\" rel=\",\"\\\"nofollow\\\"-\",\">Twitter for Andr-\",\"oid</a>\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"<a href=\\\"http://twitter.com/download/android\\\" rel=\\\"nofollow\\\">Twitter for Android</a>\",\"WrappedText\":[\"<a href=\\\"http://\",\"twitter.com/\",\"download/\",\"android\\\" rel=\",\"\\\"nofollow\\\"-\",\">Twitter for Andr-\",\"oid</a>\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":\"realDonaldTrump\",\"WrappedText\":[\"realDonaldTrump\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"realDonaldTrump\",\"WrappedText\":[\"realDonaldTrump\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"realDonaldTrump\",\"WrappedText\":[\"realDonaldTrump\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"realDonaldTrump\",\"WrappedText\":[\"realDonaldTrump\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"realDonaldTrump\",\"WrappedText\":[\"realDonaldTrump\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":\"realDonaldTrump\",\"WrappedText\":[\"realDonaldTrump\"],\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":11549.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":11013.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":23649.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":17402.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":4859.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":11580.0,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":false,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}],[{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null},{\"Value\":null,\"WrappedText\":null,\"IsBlank\":null,\"Significance\":null,\"ExtraText\":null}]],\"Settings\":{\"CellDimensionId\":null,\"RowDimensionsIds\":[\"RowCategoricalDimension\"],\"ColumnDimensionsIds\":[\"StatisticsDimensionID\"],\"ColumnHeadersHidden\":false,\"Title\":null,\"Footnote\":\"Showing 1 to 6 of 1000 rows.\",\"IsRowHeadersSortable\":false,\"IsColumnHeadersSortable\":true,\"HeaderSorts\":[],\"IsRowHeadersFilterable\":false,\"IsColumnHeadersFilterable\":true,\"HeaderFilters\":[],\"PaginationParameters\":{\"StartElement\":0,\"EndElement\":5,\"TotalElements\":1000,\"IsRows\":true,\"ShowingElement\":null},\"TableStyleCssClass\":\"style-97ba0187-37c0-47a1-a4ad-31b0f5281e77-1-_-8\",\"LiveTableFormat\":{},\"AvailableWidth\":1783,\"AvailableHeight\":803,\"TableWidth\":null}}","visible":"yes"},"secondsTaken":21.181796300000002,"updated":"2016-12-12T21:42:55.1178282Z","lastUpdatedMessage":null,"executedCode":"library(\"twitteR\")\nlibrary(\"ROAuth\")\nlibrary(\"lubridate\")\n\n#consumer_key <- 'f5eUFc1cpaZrVQ1UdnrLWWsbt'\n#consumer_secret <- 'N4wDU4YEZo7yNbjIlPbISdv5SAv3Nr6tkUvCV1ANQpneYu6smc'\n#access_token <- '150042833-VKA39Bc6vk3P0Qg7KAzeSgWYvhDHRVAHnC0DQYM7'\n#access_secret <- '4nsczQqfZNOTrup9etI1BrFIOJVR6Rk1MWSL3aslxRzGS'\n\nsetup_twitter_oauth(consumer_key, consumer_secret, access_token, access_secret)\n\ntweets.user.1 <- userTimeline(\"realDonaldTrump\", n = 1000, maxID=NULL, sinceID=NULL, includeRts=TRUE)\ntweets.user.1 <- twListToDF(tweets.user.1)\n#tweets.user$txtdate <- as.Date(tweets.user$created)\ntweets.user.1","lastSavedCode":"library(\"twitteR\")\nlibrary(\"ROAuth\")\nlibrary(\"lubridate\")\n\n#consumer_key <- 'f5eUFc1cpaZrVQ1UdnrLWWsbt'\n#consumer_secret <- 'N4wDU4YEZo7yNbjIlPbISdv5SAv3Nr6tkUvCV1ANQpneYu6smc'\n#access_token <- '150042833-VKA39Bc6vk3P0Qg7KAzeSgWYvhDHRVAHnC0DQYM7'\n#access_secret <- '4nsczQqfZNOTrup9etI1BrFIOJVR6Rk1MWSL3aslxRzGS'\n\nsetup_twitter_oauth(consumer_key, consumer_secret, access_token, access_secret)\n\ntweets.user.1 <- userTimeline(\"realDonaldTrump\", n = 1000, maxID=NULL, sinceID=NULL, includeRts=TRUE)\ntweets.user.1 <- twListToDF(tweets.user.1)\n#tweets.user$txtdate <- as.Date(tweets.user$created)\ntweets.user.1","highlightedCodeSpans":[{"start":334,"length":12,"index":2},{"start":348,"length":15,"index":2},{"start":365,"length":12,"index":2},{"start":379,"length":13,"index":2}],"tableTransformations":"<TabularTransformer>\r\n <TabularTransform type=\"Truncation\" truncationHeaderType=\"Column\" />\r\n <TabularTransform />\r\n</TabularTransformer>","tabularFilteringOptions":null,"hasGuiControls":false,"guiControls":{"Code":"","JSError":null,"JSErrorDetails":null,"Errors":null,"Controls":[{"Vertical":true}]},"showDebug":false,"layout":"OutputOnly","size":{"Width":1783,"Height":804},"vSplit":0.25,"hSplit":0.45,"updateWarnings":true,"updateMode":"Manual","warnSlow":false,"outputSize":{"Width":1783,"Height":803},"Options":{"debugconsole":false,"codeposition":"OutputOnly","size":{"width":1783,"height":804},"splitH":0.45,"splitV":0.25,"update warnings":true,"updating":"Manual","warn slow":false}}
text
favorited
favorit-
eCount
reply-
ToSN
created
trunc-
ated
replyT-
oSID
id
replyT-
oUID
statusS-
ource
screen-
Name
retweet-
Count
isRet-
weet
retwe-
eted
longitude
latitude
1
The F-35 program and cost is out of control. Billions of
dollars can and will be saved on military (and other)
purchases after January 20th.
✘
39137.0
null
2016/12/12 13:26:13
✘
8083019357-
28230404
null
<a href="http://
twitter.com/
download/
android" rel=
"nofollow"-
>Twitter for Andr-
oid</a>
realDonaldTrump
11549.0
✘
✘
null
null
2
Unless you catch "hackers" in the act, it is very hard to
determine who was doing the hacking. Why wasn't this
brought up before election?
✘
38017.0
null
2016/12/12 13:21:20
✘
8083007069-
14594816
null
<a href="http://
twitter.com/
download/
android" rel=
"nofollow"-
>Twitter for Andr-
oid</a>
realDonaldTrump
11013.0
✘
✘
null
null
3
Can you imagine if the election results were the opposite
and WE tried to play the Russia/CIA card. It would be called
conspiracy theory!
✘
70193.0
null
2016/12/12 13:17:54
✘
8082998411-
47248640
null
<a href="http://
twitter.com/
download/
android" rel=
"nofollow"-
>Twitter for Andr-
oid</a>
realDonaldTrump
23649.0
✘
✘
null
null
4
Just watched @NBCNightlyNews - So biased, inaccurate and
bad, point after point. Just can't get much worse, although
@CNN is right up there!
✘
60303.0
null
2016/12/12 01:02:14
✘
8081147039-
22843649
null
<a href="http://
twitter.com/
download/
android" rel=
"nofollow"-
>Twitter for Andr-
oid</a>
realDonaldTrump
17402.0
✘
✘
null
null
5
Will be interviewed on @FoxNews at 10:00 P.M. Enjoy!
✘
23183.0
null
2016/12/12 00:32:28
✘
8081072154-
92091904
null
<a href="http://
twitter.com/
download/
android" rel=
"nofollow"-
>Twitter for Andr-
oid</a>
realDonaldTrump
4859.0
✘
✘
null
null
6
Whether I choose him or not for "State"- Rex Tillerson, the
Chairman & CEO of ExxonMobil, is a world class player
text
1 The F-35 program and cost is out of control. Billions of dollars can and will be saved on military (and other) purchases after January 20th.
2 Unless you catch "hackers" in the act, it is very hard to determine who was doing the hacking. Why wasn't this brought up before election?
3 Can you imagine if the election results were the opposite and WE tried to play the Russia/CIA card. It would be called conspiracy theory!
4 Just watched @NBCNightlyNews - So biased, inaccurate and bad, point after point. Just can't get much worse, although @CNN is right up there!
5 Will be interviewed on @FoxNews at 10:00 P.M. Enjoy!
6 Whether I choose him or not for "State"- Rex Tillerson, the Chairman & CEO of ExxonMobil, is a world class player and dealmaker. Stay tuned!
7 I spent Friday campaigning with John Kennedy, of the Great State of Louisiana, for the U.S.Senate. The election is over - JOHN WON!
8 Being at the Army - Navy Game was fantastic. There is nothing like the spirit in that stadium. A wonderful experience, and congrats to Army!
9 I will be interviewed today on Fox News Sunday with Chris Wallace at 10:00 (Eastern) Network. ENJOY!
10 RT @FoxNewsSunday: Sunday-- our exclusive interview with President-elect @realDonaldTrump \nWatch on @FoxNews at 2p/10p ET \nCheck your local…
11 October 2015 - thanks Chris Wallace @FoxNewsSunday! https://t.co/VEsgPcWq7z
12 RT @TrumpInaugural: Counting down the days until the swearing in of @realDonaldTrump & @mike_pence. Check in here for the latest updates. #…
13 A very interesting read. Unfortunately, so much is true.\nhttps://t.co/ER2BoM765M
14 Reports by @CNN that I will be working on The Apprentice during my Presidency, even part time, are ridiculous & untrue - FAKE NEWS!
15 As a show of support for our Armed Forces, I will be going to The Army-Navy Game today. Looking forward to it, should be fun!
16 I have NOTHING to do with The Apprentice except for fact that I conceived it with Mark B & have a big stake in it. Will devote ZERO TIME!
17 .@RudyGiuliani, one of the finest people I know and a former GREAT Mayor of N.Y.C., just took himself out of consideration for "State".
18 Thank you Michigan. We are going to bring back your jobs & together, we will MAKE AMERICA GREAT AGAIN!\nWatch:… https://t.co/EyLOo26FqW
19 Thank you Louisiana! Get out & vote for John Kennedy tomorrow. Electing Kennedy will help enact our agenda on behal… https://t.co/sHXeyreEZI
20 Join me live in Louisiana! Tomorrow, we need you to go to the polls & send John Kennedy to the U.S. Senate. https://t.co/O0jtz0BKeL
21 THANK YOU IOWA!\n#ThankYouTour2016 https://t.co/v6EB2OQMeO
22 Join me tomorrow! #MAGA \n10am- Baton Rouge, LA. \nTickets: https://t.co/rvIQ6Yq45P\n7pm- Grand Rapids, MI.\nTickets: https://t.co/2UTwAg5V87
23 On my way to Des Moines, Iowa- will see you soon with @mike_pence. Join us! Tickets: https://t.co/1IuRTVwMSx #ThankYouTour2016
24 Today we lost a great pioneer of air and space in John Glenn. He was a hero and inspired generations of future explorers. He will be missed.
25 If United Steelworkers 1999 was any good, they would have kept those jobs in Indiana. Spend more time working-less time talking. Reduce dues
26 Chuck Jones, who is President of United Steelworkers 1999, has done a terrible job representing workers. No wonder companies flee country!
27 Join me tomorrow in Des Moines, Iowa with Vice President-Elect @mike_pence - at 7:00pm!\n#ThankYouTour2016 #MAGA… https://t.co/Geq6sT70IT
28 We pause today to remember the 2,403 American heroes who selflessly gave their lives at Pearl Harbor 75 years ago...\nhttps://t.co/r5eRLR24Q3
29 I will be interviewed on the @TODAYshow at 7:30. Enjoy!
30 A great night in Fayetteville, North Carolina. Thank you! #ICYMI watch here: https://t.co/ZAuTgxKPpb https://t.co/EF9xRWmciA
31 Departing New York with General James 'Mad Dog' Mattis for tonight's rally in Fayetteville, North Carolina! See you… https://t.co/Z8sgJBWI09
32 Masa said he would never do this had we (Trump) not won the election!
33 Masa (SoftBank) of Japan has agreed to invest $50 billion in the U.S. toward businesses and 50,000 new jobs....
34 Join me tonight in Fayetteville, North Carolina at 7pm! \n#ThankYouTour2016 \nTickets: https://t.co/79AHq3NC0v https://t.co/KoZCE7JeG7
35 Boeing is building a brand new 747 Air Force One for future presidents, but costs are out of control, more than $4 billion. Cancel order!
36 #ThankYouTour2016 \n\n12/6- North Carolina\nhttps://t.co/79AHq3NC0v\n\n12/8- Iowa\nhttps://t.co/1IuRTVwMSx\n\n12/9- Michiga… https://t.co/vcQaIJ8qoB
37 If the press would cover me accurately & honorably, I would have far less reason to "tweet." Sadly, I don't know if that will ever happen!
38 I am thrilled to nominate Dr. @RealBenCarson as our next Secretary of the US Dept. of Housing and Urban Development… https://t.co/OJKuDFhP3r
39 their country (the U.S. doesn't tax them) or to build a massive military complex in the middle of the South China Sea? I don't think so!
40 Did China ask us if it was OK to devalue their currency (making it hard for our companies to compete), heavily tax our products going into..
41 .@FoxNews will be re-running "Objectified: Donald Trump," the ratings hit produced by the great Harvey Levin of TMZ, at 8:00 P.M. Enjoy!
42 The Green Party just dropped its recount suit in Pennsylvania and is losing votes in Wisconsin recount. Just a Stein scam to raise money!
43 expensive mistake! THE UNITED STATES IS OPEN FOR BUSINESS
44 these companies are able to move between all 50 states, with no tax or tariff being charged. Please be forewarned prior to making a very ...
45 wanting to sell their product, cars, A.C. units etc., back across the border. This tax will make leaving financially difficult, but.....
46 without retribution or consequence, is WRONG! There will be a tax on our soon to be strong border of 35% for these companies ......
47 fires its employees, builds a new factory or plant in the other country, and then thinks it will sell its product back into the U.S. ......
48 The U.S. is going to substantialy reduce taxes and regulations on businesses, but any business that leaves our country for another country,
49 Just tried watching Saturday Night Live - unwatchable! Totally biased, not funny and the Baldwin impersonation just can't get any worse. Sad
50 Our great VPE, @mike_pence, is in Louisiana campaigning for John Kennedy for US Senate. John will be a tremendous help to us in Washington.
51 State Treasurer John Kennedy is my choice for US Senator from Louisiana. Early voting today; election next Saturday.
52 "@TigerWoods: Can’t wait to get back out there and mix it up with the boys. –TW #heroworldchallenge" Great to have you back Tiger - Special!
53 Rexnord of Indiana is moving to Mexico and rather viciously firing all of its 300 workers. This is happening all over our country. No more!
54 Interesting how the U.S. sells Taiwan billions of dollars of military equipment but I should not accept a congratulatory call.
55 The President of Taiwan CALLED ME today to wish me congratulations on winning the Presidency. Thank you!
56 Thank you Ohio! Together, we made history – and now, the real work begins. America will start winning again!… https://t.co/sVNSNJE7Uf
57 Heading to U.S. Bank Arena in Cincinnati, Ohio for a 7pm rally. \nJoin me! Tickets: https://t.co/HiWqZvHv6M
58 Getting ready to leave for the Great State of Indiana and meet the hard working and wonderful people of Carrier A.C.
59 My thoughts and prayers are with those affected by the tragic storms and tornadoes in the Southeastern United States. Stay safe!
60 Look forward to going to Indiana tomorrow in order to be with the great workers of Carrier. They will sell many air conditioners!
61 'Donald Trump is already helping the working class' https://t.co/GTuNcQhLYx
62 RT @DanScavino: Great interview on @foxandfriends by @SteveDoocy w/ Carrier employee- who has a message for #PEOTUS @realDonaldTrump & #VPE…
favorited favoriteCount replyToSN created truncated replyToSID
1 FALSE 39137 <NA> 2016-12-12 13:26:13 FALSE NA
2 FALSE 38017 <NA> 2016-12-12 13:21:20 FALSE NA
3 FALSE 70193 <NA> 2016-12-12 13:17:54 FALSE NA
4 FALSE 60303 <NA> 2016-12-12 01:02:14 FALSE NA
5 FALSE 23183 <NA> 2016-12-12 00:32:28 FALSE NA
6 FALSE 47439 <NA> 2016-12-11 15:29:10 FALSE NA
7 FALSE 46737 <NA> 2016-12-11 13:51:47 FALSE NA
8 FALSE 73595 <NA> 2016-12-11 13:12:06 FALSE NA
9 FALSE 27248 <NA> 2016-12-11 12:56:18 FALSE NA
10 FALSE 0 <NA> 2016-12-10 19:09:28 FALSE NA
11 FALSE 25013 <NA> 2016-12-10 19:09:13 FALSE NA
12 FALSE 0 <NA> 2016-12-10 18:41:12 FALSE NA
13 FALSE 29111 <NA> 2016-12-10 14:14:23 FALSE NA
14 FALSE 72018 <NA> 2016-12-10 14:11:49 FALSE NA
15 FALSE 104310 <NA> 2016-12-10 12:38:24 FALSE NA
16 FALSE 47720 <NA> 2016-12-10 11:27:22 FALSE NA
17 FALSE 28532 <NA> 2016-12-10 11:19:24 FALSE NA
18 FALSE 36311 <NA> 2016-12-10 03:30:50 TRUE NA
19 FALSE 34822 <NA> 2016-12-09 22:13:21 TRUE NA
20 FALSE 21820 <NA> 2016-12-09 19:42:30 FALSE NA
21 FALSE 39208 <NA> 2016-12-09 03:02:04 FALSE NA
22 FALSE 20212 <NA> 2016-12-08 23:12:11 FALSE NA
23 FALSE 20966 <NA> 2016-12-08 22:55:24 FALSE NA
24 FALSE 94447 <NA> 2016-12-08 21:15:52 FALSE NA
25 FALSE 56572 <NA> 2016-12-08 01:56:40 FALSE NA
26 FALSE 49372 <NA> 2016-12-08 00:41:48 FALSE NA
27 FALSE 26381 <NA> 2016-12-07 19:37:32 TRUE NA
28 FALSE 76899 <NA> 2016-12-07 18:38:00 FALSE NA
29 FALSE 31812 <NA> 2016-12-07 12:18:56 FALSE NA
30 FALSE 35752 <NA> 2016-12-07 03:33:20 FALSE NA
31 FALSE 69750 <NA> 2016-12-06 21:17:45 TRUE NA
32 FALSE 48495 <NA> 2016-12-06 19:10:27 FALSE NA
33 FALSE 89167 <NA> 2016-12-06 19:09:49 FALSE NA
34 FALSE 26263 <NA> 2016-12-06 16:45:27 FALSE NA
35 FALSE 142705 <NA> 2016-12-06 13:52:35 FALSE NA
36 FALSE 26649 <NA> 2016-12-05 23:06:43 TRUE NA
37 FALSE 141640 <NA> 2016-12-05 16:00:27 FALSE NA
38 FALSE 105178 <NA> 2016-12-05 13:53:11 TRUE NA
39 FALSE 52071 <NA> 2016-12-04 22:30:22 FALSE NA
40 FALSE 67723 <NA> 2016-12-04 22:23:55 FALSE NA
41 FALSE 31252 <NA> 2016-12-04 21:47:21 FALSE NA
42 FALSE 96175 <NA> 2016-12-04 18:58:43 FALSE NA
43 FALSE 58575 <NA> 2016-12-04 12:23:27 FALSE NA
44 FALSE 42290 <NA> 2016-12-04 12:21:01 FALSE NA
45 FALSE 40545 <NA> 2016-12-04 12:05:35 FALSE NA
46 FALSE 48667 <NA> 2016-12-04 11:57:41 FALSE NA
47 FALSE 46469 <NA> 2016-12-04 11:49:06 FALSE NA
48 FALSE 53584 <NA> 2016-12-04 11:41:47 FALSE NA
49 FALSE 116297 <NA> 2016-12-04 05:13:58 FALSE NA
50 FALSE 39424 <NA> 2016-12-03 19:13:01 FALSE NA
51 FALSE 39135 <NA> 2016-12-03 19:09:40 FALSE NA
52 FALSE 37906 <NA> 2016-12-03 16:37:27 FALSE NA
53 FALSE 64771 <NA> 2016-12-03 03:06:41 FALSE NA
54 FALSE 124147 <NA> 2016-12-03 01:41:30 FALSE NA
55 FALSE 111952 <NA> 2016-12-03 00:44:20 FALSE NA
56 FALSE 72487 <NA> 2016-12-02 02:45:18 TRUE NA
57 FALSE 31229 <NA> 2016-12-01 22:52:10 FALSE NA
58 FALSE 57636 <NA> 2016-12-01 14:38:09 FALSE NA
59 FALSE 66118 <NA> 2016-12-01 14:37:57 FALSE NA
60 FALSE 68116 <NA> 2016-12-01 03:48:35 FALSE NA
61 FALSE 52577 <NA> 2016-11-30 20:00:14 FALSE NA
62 FALSE 0 <NA> 2016-11-30 19:51:16 FALSE NA
id replyToUID
1 808301935728230404 <NA>
2 808300706914594816 <NA>
3 808299841147248640 <NA>
4 808114703922843649 <NA>
5 808107215492091904 <NA>
6 807970490635743237 <NA>
7 807945982633709570 <NA>
8 807935995316408322 <NA>
9 807932020236124160 <NA>
10 807663539116802048 <NA>
11 807663477322027008 <NA>
12 807656426374103041 <NA>
13 807589280071684096 <NA>
14 807588632877998081 <NA>
15 807565127021109252 <NA>
16 807547249681166336 <NA>
17 807545243608420352 <NA>
18 807427326522884096 <NA>
19 807347429062443009 <NA>
20 807309464705630208 <NA>
21 807057700857188355 <NA>
22 806999846674698240 <NA>
23 806995622117122048 <NA>
24 806970576359325696 <NA>
25 806678853305384960 <NA>
26 806660011904614408 <NA>
27 806583438748815361 <NA>
28 806568460620857349 <NA>
29 806473064703725568 <NA>
30 806340792247795715 <NA>
31 806246271405162500 <NA>
32 806214236053667842 <NA>
33 806214078465245185 <NA>
34 806177746397306883 <NA>
35 806134244384899072 <NA>
36 805911307270713348 <NA>
37 805804034309427200 <NA>
38 805772007220645888 <NA>
39 805539770864693253 <NA>
40 805538149157969924 <NA>
41 805528947190616065 <NA>
42 805486509914779649 <NA>
43 805387038048612356 <NA>
44 805386422807105536 <NA>
45 805382541343653888 <NA>
46 805380553008680961 <NA>
47 805378393537658880 <NA>
48 805376548882776064 <NA>
49 805278955150471168 <NA>
50 805127720749383680 <NA>
51 805126876779913216 <NA>
52 805088569765359616 <NA>
53 804884532671430658 <NA>
54 804863098138005504 <NA>
55 804848711599882240 <NA>
56 804516764562374656 <NA>
57 804458095569158144 <NA>
58 804333771021570048 <NA>
59 804333718999539712 <NA>
60 804170300908781570 <NA>
61 804052438546317312 <NA>
62 804050182170116096 <NA>
statusSource
1 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
2 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
3 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
4 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
5 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
6 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
7 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
8 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
9 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
10 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
11 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
12 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
13 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
14 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
15 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
16 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
17 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
18 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
19 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
20 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
21 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
22 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
23 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
24 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
25 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
26 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
27 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
28 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
29 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
30 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
31 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
32 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
33 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
34 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
35 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
36 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
37 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
38 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
39 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
40 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
41 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
42 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
43 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
44 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
45 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
46 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
47 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
48 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
49 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
50 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
51 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
52 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
53 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
54 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
55 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
56 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
57 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
58 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
59 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
60 <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</a>
61 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
62 <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
screenName retweetCount isRetweet retweeted longitude latitude
1 realDonaldTrump 11549 FALSE FALSE <NA> <NA>
2 realDonaldTrump 11013 FALSE FALSE <NA> <NA>
3 realDonaldTrump 23649 FALSE FALSE <NA> <NA>
4 realDonaldTrump 17402 FALSE FALSE <NA> <NA>
5 realDonaldTrump 4859 FALSE FALSE <NA> <NA>
6 realDonaldTrump 11580 FALSE FALSE <NA> <NA>
7 realDonaldTrump 9321 FALSE FALSE <NA> <NA>
8 realDonaldTrump 12449 FALSE FALSE <NA> <NA>
9 realDonaldTrump 5369 FALSE FALSE <NA> <NA>
10 realDonaldTrump 5640 TRUE FALSE <NA> <NA>
11 realDonaldTrump 6749 FALSE FALSE <NA> <NA>
12 realDonaldTrump 6192 TRUE FALSE <NA> <NA>
13 realDonaldTrump 11716 FALSE FALSE <NA> <NA>
14 realDonaldTrump 24750 FALSE FALSE <NA> <NA>
15 realDonaldTrump 18645 FALSE FALSE <NA> <NA>
16 realDonaldTrump 11035 FALSE FALSE <NA> <NA>
17 realDonaldTrump 7019 FALSE FALSE <NA> <NA>
18 realDonaldTrump 8885 FALSE FALSE <NA> <NA>
19 realDonaldTrump 8853 FALSE FALSE <NA> <NA>
20 realDonaldTrump 5220 FALSE FALSE <NA> <NA>
21 realDonaldTrump 9143 FALSE FALSE <NA> <NA>
22 realDonaldTrump 5826 FALSE FALSE <NA> <NA>
23 realDonaldTrump 3986 FALSE FALSE <NA> <NA>
24 realDonaldTrump 20253 FALSE FALSE <NA> <NA>
25 realDonaldTrump 14022 FALSE FALSE <NA> <NA>
26 realDonaldTrump 12786 FALSE FALSE <NA> <NA>
27 realDonaldTrump 6215 FALSE FALSE <NA> <NA>
28 realDonaldTrump 18680 FALSE FALSE <NA> <NA>
29 realDonaldTrump 5319 FALSE FALSE <NA> <NA>
30 realDonaldTrump 7625 FALSE FALSE <NA> <NA>
31 realDonaldTrump 14189 FALSE FALSE <NA> <NA>
32 realDonaldTrump 13263 FALSE FALSE <NA> <NA>
33 realDonaldTrump 29100 FALSE FALSE <NA> <NA>
34 realDonaldTrump 6512 FALSE FALSE <NA> <NA>
35 realDonaldTrump 43403 FALSE FALSE <NA> <NA>
36 realDonaldTrump 8175 FALSE FALSE <NA> <NA>
37 realDonaldTrump 38739 FALSE FALSE <NA> <NA>
38 realDonaldTrump 26688 FALSE FALSE <NA> <NA>
39 realDonaldTrump 14585 FALSE FALSE <NA> <NA>
40 realDonaldTrump 20801 FALSE FALSE <NA> <NA>
41 realDonaldTrump 6512 FALSE FALSE <NA> <NA>
42 realDonaldTrump 25887 FALSE FALSE <NA> <NA>
43 realDonaldTrump 15074 FALSE FALSE <NA> <NA>
44 realDonaldTrump 10400 FALSE FALSE <NA> <NA>
45 realDonaldTrump 9742 FALSE FALSE <NA> <NA>
46 realDonaldTrump 12418 FALSE FALSE <NA> <NA>
47 realDonaldTrump 12132 FALSE FALSE <NA> <NA>
48 realDonaldTrump 13836 FALSE FALSE <NA> <NA>
49 realDonaldTrump 28446 FALSE FALSE <NA> <NA>
50 realDonaldTrump 9266 FALSE FALSE <NA> <NA>
51 realDonaldTrump 9865 FALSE FALSE <NA> <NA>
52 realDonaldTrump 9413 FALSE FALSE <NA> <NA>
53 realDonaldTrump 17600 FALSE FALSE <NA> <NA>
54 realDonaldTrump 39365 FALSE FALSE <NA> <NA>
55 realDonaldTrump 25004 FALSE FALSE <NA> <NA>
56 realDonaldTrump 17443 FALSE FALSE <NA> <NA>
57 realDonaldTrump 5586 FALSE FALSE <NA> <NA>
58 realDonaldTrump 9923 FALSE FALSE <NA> <NA>
59 realDonaldTrump 12163 FALSE FALSE <NA> <NA>
60 realDonaldTrump 12782 FALSE FALSE <NA> <NA>
61 realDonaldTrump 14912 FALSE FALSE <NA> <NA>
62 realDonaldTrump 7413 TRUE FALSE <NA> <NA>
[ reached getOption("max.print") -- omitted 938 rows ]
Total time:
21.17s
Time on R server:
20.95s
Time evaluating code:
19.53s
Bytes sent:
2,429
Bytes received:
419,986
\n' // avoid explicitly writing the end script tag
+ '\n'
+ (Util.isForScreenshot() ? '\n' : '\n')
+ body
+ '\n' // avoid explicitly writing the end script tag
+ '\n'
+ '';
var iframe = document.createElement('iframe');
iframe.className = 'r-htmlwidget-iframe'; // so we can style the iframe
this._jqObj[0].appendChild(iframe);
setTimeout(function () {
if (!_this._jqObj.existsInDom())
return;
var iframe_window = iframe.contentWindow;
var document = iframe_window ? iframe_window.document : (iframe.contentDocument && iframe.contentDocument.document) ? iframe.contentDocument.document : iframe.contentDocument;
if (!document || !iframe_window)
return;
document.open();
document.write(html);
document.close();
var set_state_changed_hook = function () {
if (iframe_window.HTMLWidgets) {
iframe_window.HTMLWidgets.stateChangedHook = function (new_state) { return _this._widgetStateChanged(new_state); };
}
else {
bugLog("HTMLWidgets is not yet available");
setTimeout(set_state_changed_hook, 100);
}
};
setTimeout(set_state_changed_hook, 0);
_this._reZoomOutput();
setTimeout(function () { return _this.reload(); }, 100);
setTimeout(function () {
_this.outputReadyForTraining = true;
if (App.ui.inspector)
App.ui.inspector.update("output Ready for training after reload");
}, 1000);
}, 0, "rendering R widget");
this._currentWidgetBody = body;
this._currentWidgetHead = head;
this._currentWidgetState = widget_state;
};
RItemGui.prototype._widgetStateChanged = function (new_state) {
if (Util.isDesktop() || Environment.isEditor) {
QServerRequestsCommon.SaveRItemWidgetState({
GUID: this.guids[0],
WidgetState: JSON.stringify(new_state),
SkipFeedbackFrom: {
Requests: [this._subscriptionRequest('GetRControls'),
this._subscriptionRequest('GetREditPreCalcStuff'),
this._subscriptionRequest('GetREditPostCalcStuff')]
}
});
}
};
RItemGui.prototype.reload = function () {
var DOMContentLoaded_event = document.createEvent("Event");
DOMContentLoaded_event.initEvent("DOMContentLoaded", true, true);
window.document.dispatchEvent(DOMContentLoaded_event);
};
RItemGui.prototype.applyAppearanceParameters = function (appearance, reason) {
if (!this._jqObj)
return; // we have not been added to the page.
var output_div_with_background = this._jqObj;
var output_div_with_scrollbars = this._getOutputDivWithScrollbars();
if (this._effectiveOutputType() !== OutputType.TEXT) {
output_div_with_background.css({
"background": ""
});
output_div_with_scrollbars.css({
"border-width": "",
"border-color": "",
"border-style": ""
});
return;
}
bugLog("Applying appearance parameters for %s because '%s': %o", this.id(), reason, appearance);
var output = output_div_with_scrollbars.find(".ritem-text-output");
var border = appearance.border;
if (border) {
if (output_div_with_background)
output_div_with_background.css({
"background": appearance.background
});
if (output_div_with_scrollbars)
output_div_with_scrollbars.css({
"border-width": border.size + "px",
"border-color": border.color,
"border-style": border.on ? border.style : "none"
});
output.css({
"padding": appearance.padding
});
}
var font = appearance.font;
var text = appearance.text;
if (font && text) {
if (output)
output.css({
"font-family": font.family,
"font-size": font.size + "pt",
"color": font.color,
"font-weight": font.bold ? "bold" : "normal",
"font-style": font.italic ? "italic" : "normal",
"text-decoration": font.underline ? (font.strikeout ? "underline line-through" : "underline") : (font.strikeout ? "line-through" : "none"),
"text-align": text.hAlign,
"vertical-align": text.vAlign,
"white-space": text.wrap ? "pre-wrap" : "pre"
});
if (output_div_with_scrollbars)
output_div_with_scrollbars.css({
"min-height": Math.ceil(font.size * 1.2) + "pt"
});
}
this._setDomScrollbars();
};
RItemGui.prototype._getOutputDivWithScrollbars = function () { return this._jqObj; };
RItemGui.prototype._setDomScrollbars = function () {
if (Util.isForScreenshot())
return;
var output_div_with_scrollbars = this._getOutputDivWithScrollbars();
var has_scroll = Util.getElementScrollbars(output_div_with_scrollbars[0]);
var css = Util.getTableCssForScrolling(has_scroll.x, has_scroll.y);
if (this._effectiveOutputType() !== OutputType.TEXT) {
output_div_with_scrollbars.css({ overflow: "" });
return;
}
output_div_with_scrollbars.css(css);
};
RItemGui.prototype.clear = function () {
if (this._jqObj) {
this._jqObj.empty();
this._jqObj.removeClass('noVerticalScroll');
this._currentWidgetHead = null;
this._currentWidgetBody = null;
this._currentWidgetState = null;
}
};
RItemGui.prototype.changeLayout = function (layout) {
this.applyLayout(layout);
if (this._editMode || App.isWeb) {
this._state.oldLayout = layout;
this.itemDidReattachToWorkarea();
}
};
RItemGui.prototype.itemDidReattachToWorkarea = function () {
if (this._state.outputType === OutputType.WIDGET) {
this.clear();
this._displayAppropriateOutput();
}
};
RItemGui.prototype.applyLayout = function (layout) {
this._codeContainer.detach();
this._outputContainer.detach();
if (this._hsplitter)
this._hsplitter.destroy();
if (this._vsplitter)
this._vsplitter.destroy();
if (this._state.oldLayout === Layout.CodeOnly || this._state.oldLayout === Layout.OutputOnly)
this._contentFrame.removeClass("flip-container");
this._contentFrame.children(".splitPanel").remove();
switch (layout) {
case Layout.CodeOnly:
this._contentFrame.append(this._codeContainer);
break;
case Layout.OutputOnly:
this._outputContainer.children().removeClass("notransition");
this._contentFrame.addClass("flip-container flip-notanimating").append(this._outputContainer);
break;
case Layout.Left:
this._hsplitter = new WebWidgets.HorizontalSplitter({ appendTo: this._contentFrame, isRoot: false, initialSizePercent: 100 * this._state.hSplit });
this.modifyOutputSplitter(this._hsplitter);
this._hsplitter.leftPanel.append(this._codeContainer);
this._hsplitter.rightPanel.addClass("flip-container flip-notanimating").append(this._outputContainer);
break;
case Layout.Top:
this._vsplitter = new WebWidgets.VerticalSplitter({ appendTo: this._contentFrame, isRoot: false, initialSizePercent: 100 * this._state.vSplit });
this.modifyOutputSplitter(this._vsplitter);
this._vsplitter.topPanel.append(this._codeContainer);
this._vsplitter.bottomPanel.addClass("flip-container flip-notanimating").append(this._outputContainer);
break;
case Layout.Right:
this._hsplitter = new WebWidgets.HorizontalSplitter({ appendTo: this._contentFrame, isRoot: false, initialSizePercent: 100 - 100 * this._state.hSplit });
this.modifyOutputSplitter(this._hsplitter);
this._hsplitter.leftPanel.addClass("flip-container flip-notanimating").append(this._outputContainer);
this._hsplitter.rightPanel.append(this._codeContainer);
break;
case Layout.Bottom:
this._vsplitter = new WebWidgets.VerticalSplitter({ appendTo: this._contentFrame, isRoot: false, initialSizePercent: 100 - 100 * this._state.vSplit });
this.modifyOutputSplitter(this._vsplitter);
this._vsplitter.topPanel.addClass("flip-container flip-notanimating").append(this._outputContainer);
this._vsplitter.bottomPanel.append(this._codeContainer);
break;
}
if (Util.isForScreenshot())
(this._state.showDebug ? this._jqObj : this._jqConsole).css('display', 'none');
else
this.set_flip("div#{0} .flip-1".format(this.id()), this._state.showDebug);
};
RItemGui.prototype.set_flip = function (clss, flipToBack) {
console.log("set flip: " + this._state.oldLayout);
$(clss).addClass("notransition");
if (flipToBack)
$(clss).addClass("flipped");
else
$(clss).removeClass("flipped");
setTimeout(function () {
$(clss).removeClass("notransition");
}, 600, "removing R Gui transition");
};
RItemGui.prototype.resetPreviewer = function () {
if (App.ui.previewer)
App.ui.previewer.hide();
};
RItemGui.prototype.resetNotificationBar = function () {
if (this._editMode) {
this._notificationBar.clearMustChooseOutputType();
this._notificationBar.clearError();
this._notificationBar.clearWarnings();
}
};
RItemGui.prototype.enterRItemForEditMode = function (guid) {
this.enterRItem(guid);
this._editMode = true;
this.guiControlsReadyForTraining = false;
this._firstPreCalcStuff = true;
this.getPreCalcStuff();
};
RItemGui.prototype.enterRItem = function (guid) {
var _this = this;
bugLog('enterRItem({0})'.format(guid));
this.resetPreviewer();
this._readyForTraining = false;
this.guids[0] = guid;
if (!Application.isForDataset()) {
this.guiControlsReadyForTraining = false;
this.subscribe('GetRControls', function (response) { return _this.gotRControls(response); });
}
};
RItemGui.prototype.leaveRItem = function (refresh_r_item) {
bugLogGroup('leaveRItem');
try {
this.unsubscribe('GetRControls');
this.unsubscribe('GetREditPreCalcStuff');
this.unsubscribe('GetREditPostCalcStuff');
if (this._state)
this._state.guiControls = null; // reset so that next time we are entered, we know we do not have controls
this.resetNotificationBar();
this._notificationBar.warnSlow(false);
this._readyForTraining = false;
this._editMode = false; // defensive coding; just in case someone has reference to the RItemGui or change events fire, we want to ignore state changes
clearTimeout(this._state.autosaveTimer);
clearTimeout(this._state.highlightingTimer);
if (refresh_r_item && this.getItemGuids().length === 1) {
QServerRequestsCommon.RItemLeaveEditMode({ GUID: this.getItemGuids()[0], Code: null });
}
for (var _i = 0, _a = RibbonCodeEditor.getEditorsFor(this.guids[0], "r", "javascript"); _i < _a.length; _i++) {
var editor = _a[_i];
editor.enabled(false);
}
}
finally {
bugLogGroupEnd();
}
};
/** Called before the reference to this RItemGui is thrown away and never used again.
* This is different from leaveRItem(), because in that case the RItemGui is re-used
* and enterRItem() may be called again.
* Here we throw away event handlers to avoid duplicate events (like the code editor change event)
* triggering server actions (like RItemRehighlightCode). */
RItemGui.prototype.detach = function () {
if (this._editMode) {
this.unsubscribe('GetRControls');
this.unsubscribe('GetREditPreCalcStuff');
this.unsubscribe('GetREditPostCalcStuff');
}
clearTimeout(this._state.autosaveTimer);
clearTimeout(this._state.highlightingTimer);
this._rControlsContainer.remove();
};
RItemGui.prototype.getItemGuids = function () {
return this.guids;
};
RItemGui.prototype.subscribe = function (name, callback) {
var request = this._subscriptionRequest(name);
if (!Subscription.isSubscribed(request))
Subscription.subscribe(request, callback);
};
RItemGui.prototype.unsubscribe = function (name) {
var request = this._subscriptionRequest(name);
if (Subscription.isSubscribed(request))
Subscription.unsubscribe(request);
};
RItemGui.prototype._subscriptionRequest = function (name) {
var guid = this.guids[0] ? this.guids[0] : "no-guid";
return { Request: name, GUID: guid };
};
RItemGui.prototype.hasPreCalcStuff = function () {
return !!this._firstPreCalcStuff;
};
RItemGui.prototype.getPreCalcStuff = function () {
var _this = this;
this._waitingForPreCalcStuff = true;
$("#no-warnings").html("please wait");
var handle_precalcstuff = function (response) {
if (!_this._editMode)
return;
var code = _this._firstPreCalcStuff ? response.Code : null;
if (response.Code)
_this._state.lastSavedCode = response.Code;
_this.displayInputValues(response.Options, code,
response.Highlights.Highlights);
for (var _i = 0, _a = RibbonCodeEditor.getEditorsFor(_this.guids[0], "r", "javascript"); _i < _a.length; _i++) {
var editor = _a[_i];
editor.enabled(true);
}
_this._waitingForPreCalcStuff = false;
$("#no-warnings").html("No suggestions");
if (!_this._firstPreCalcStuff)
return;
App.ui.inspector.update("RItemGui:handle_precalcstuff");
_this._firstPreCalcStuff = false;
if (Util.isDesktop())
QServerRequestsCommon.RItemAutoUpdate({ GUIDs: [_this.guids[0]] }, function () {
return _this.requestAndDisplayOutput();
});
else
_this.requestAndDisplayOutput();
};
if (Application.isForDataset())
QServerRequestsCommon.GetREditPreCalcStuff({ GUID: this.guids[0] }, handle_precalcstuff);
else
this.subscribe('GetREditPreCalcStuff', handle_precalcstuff);
};
RItemGui.prototype.requestAndDisplayOutput = function () {
var _this = this;
var got_postcalcstuff = function (response) {
if (!_this._editMode)
return;
_this.setOutputs(response.Outputs);
if (App.isDesktopDialog)
for (var _i = 0, _a = response.StaticErrorsAndWarnings.filter(function (e) { return e.IsStatic && !e.WarningOnly; }); _i < _a.length; _i++) {
var error = _a[_i];
_this._notificationBar.setError("ERROR: " + error.Message).hideCloseButton();
}
if (response.ExecutedCode !== null)
_this.showExecutedCodeInOutput(response.ExecutedCode);
setTimeout(function () {
_this.guiControlsReadyForTraining = true;
App.ui.inspector.update("RItemGui:got_postcalcstuff");
}, 100, "gui controls ready for training");
};
if (Application.isForDataset())
QServerRequestsCommon.GetREditPostCalcStuff({ GUID: this.guids[0] }, got_postcalcstuff);
else {
this.unsubscribe('GetREditPostCalcStuff');
this.subscribe('GetREditPostCalcStuff', got_postcalcstuff);
}
};
RItemGui.prototype.showExecutedCodeInOutput = function (code, force_change) {
if (force_change === void 0) { force_change = false; }
for (var _i = 0, _a = RibbonCodeEditor.getEditorsFor(this.guids[0]).filter(function (e) { return e.name === "inplace"; }); _i < _a.length; _i++) {
var an_editor = _a[_i];
an_editor.text(code);
}
};
RItemGui.prototype.highlightSpans = function (spans) {
bugLog("highlightSpans: " + JSON.stringify(spans));
for (var _i = 0, _a = RibbonCodeEditor.getEditorsFor(this.guids[0]).filter(function (editor) { return editor.name === "inplace" || editor.name === "propertyRCode"; }); _i < _a.length; _i++) {
var editor = _a[_i];
editor.highlightSpans(spans);
}
};
RItemGui.prototype.gotRControls = function (response) {
var _this = this;
this._state.guiControls = response;
setTimeout(function () {
_this.guiControlsReadyForTraining = true;
App.ui.inspector.update("gotRControls");
}, 100, "gui controls ready for training");
var is_commit_pending = this._committables.any(function (c) { return c.isCommitPending(); });
bugLog("is_commit_pending = " + is_commit_pending + " (asked " + this._committables.length + " committables)");
if (is_commit_pending ||
QServer.getLastSeqAckReceived() < this._lastSequenceSent) {
bugLog("not updating control, last ack received: " +
QServer.getLastSeqAckReceived() +
", waiting on ack for " +
this._lastSequenceSent);
return;
}
bugLog("updating control, last ack received: " +
QServer.getLastSeqAckReceived() +
", not waiting on ack for " +
this._lastSequenceSent);
var old_scroll = this._rControlsContainer.scrollTop();
var ribbon_scroll_offsets = [];
this._rControls.find(".ribbon-dropbox-input")
.each(function (index, item) {
ribbon_scroll_offsets.push({ id: item.id, top: item.scrollTop });
});
this._rControls.empty();
this.inputsControls = {};
var div = this._rControls;
this._dropBoxes = [];
if (this._editMode)
App.ui.inspector.update("RItemGui:GotRControls");
if (response.JSError) {
div.append('
Inputs cannot be displayed as there is an error in the input code (please refer to the "Inputs JavaScript" section of the Properties).
No input form code has been specified. To define inputs, edit the JavaScript code in the "Inputs JavaScript" section of the Properties.
');
return;
}
var vertical = controls.any(function (x) { return !!x["Vertical"]; });
$("#invalid-r-control").text("");
var orig_div = div;
this._committables = [];
$.each(controls, function (i, args) {
var name = args["ControlName"];
var label = args["Label"] ? args["Label"] : "";
var invalid = args["Invalid"];
if (vertical) {
div = $('');
orig_div.append(div);
}
args = $.extend({ 'IsRegressionTesting': Util.isTesting() }, args); // avoids tooltips in DropBox
var control = null;
switch (args["Type"]) {
case "CheckBox": {
var chkbox = new SCCheckBox(name, label, args["Prompt"], args["CheckAlign"], function () {
return _this.setValueForRControl(name, chkbox.checked() ? "true" : "false");
});
chkbox.checked(args["Value"]);
control = chkbox;
break;
}
case "DropBox": {
var dropbox = new RibbonDropBox(name, label, function () { }, function () {
var multi = dropbox.multi();
var value = multi ? dropbox.values().map(function (item) { return item.guid; }).join(";") : dropbox.value() ? dropbox.value().guid : null;
_this.StateChanged("GetRControls", multi ? "SetGuidsForRControl" : "SetGuidForRControl", name, value, function (response) { return _this.gotRControls(response); });
}, args);
_this._dropBoxes.push(dropbox);
control = dropbox;
break;
}
case "ComboBox":
case "StatisticPicker": {
var cbobox = new SCComboBox(name, label, args["Prompt"], false, function () {
return _this.setValueForRControl(name, cbobox.value());
});
cbobox.populateList(args["Values"], false);
cbobox.value(args["Value"]);
cbobox.setOptions(args);
control = cbobox;
break;
}
case "NumberBox":
case "TextBox": {
var numeric = args["Type"] === "NumberBox" || args["Validator"] === "number";
var txtbox = new SCTextBox(name, label, args["Prompt"], function () {
return _this.setValueForRControl(name, txtbox.text());
}, numeric);
txtbox.text(args["Value"]);
txtbox.setOptions(args);
control = txtbox;
_this._committables.push(txtbox);
break;
}
case "NumericUpDown": {
var updown = new RibbonUpDown(name, label, args["Prompt"], function () {
return _this.setValueForRControl(name, updown.value().toString());
});
updown.increment(args["Increment"]);
updown.min(args["Min"]);
updown.max(args["Max"]);
updown.value(args["Value"]);
control = updown;
_this._committables.push(updown);
break;
}
case "ColorPicker": {
var color = new SCPopupColor(name, label, args["Prompt"], 'medium', Util.makeSharedWebUiSpriteImg('colourfill.png'), function () {
return _this.setValueForRControl(name, _this.rgbAsString(color));
}, null, Translate('More Colors...'));
color.value(args["Value"]);
control = color;
break;
}
case "DataEntry": {
var de = new DataEntryButton(name, label, args["Prompt"], 'medium', null, function () {
return _this.setValueForRControl(name, de.value());
});
de.value(args["Value"]);
control = de;
break;
}
case "Label": {
var lbl = new RibbonLabelledText(name, args["Text"], null);
lbl.addToDialog(div, _this.ribbonForControls);
lbl.enabled(true);
break;
}
case "LineBreak": {
div.append($(" "));
break;
}
case "Heading": {
div.append($("
").text(args["Text"]));
break;
}
case "Summary": {
div.append(" ");
div.append($("").text(args["Text"]));
break;
}
}
if (control) {
control.addToDialog(div, _this.ribbonForControls);
control.enabled(true);
_this.inputsControls[name] = control;
if (invalid) {
var jq = control.getJqPrimaryControl();
jq.addClass("ribbon-invalid");
}
}
});
this._rControls.find(".ribbon-dropbox-input")
.each(function (index, item) {
var offset = ribbon_scroll_offsets.filter(function (o) { return o.id === item.id; })[0];
if (offset)
item.scrollTop = offset.top;
});
this._rControlsContainer.scrollTop(old_scroll);
};
RItemGui.prototype.setValueForRControl = function (name, value) {
var _this = this;
bugLog("setValueForRControl: " + name + " = " + value);
this.StateChanged("GetRControls", "SetValueForRControl", name, value, function (response) {
bugLog("setValueForRControl returned");
_this.gotRControls(response);
});
};
RItemGui.prototype.commitTextBoxes = function () {
if (this._committables)
for (var _i = 0, _a = this._committables; _i < _a.length; _i++) {
var textbox = _a[_i];
textbox.onEditCommit(false, "committing gui input controls");
}
};
RItemGui.prototype.rgbAsString = function (color) {
var rgb = RibbonPopupColor.strToColor(color.value()); // "rgb(r, g, b)"
return rgb.replace('rgb(', '').replace(')', ''); // ScriptColorPicker expects "r, g, b"
};
RItemGui.prototype.widthOfLabels = function () {
return this._rControls.find("label".format(this.id())).map(function (i, x) { return $(x).width(); }).toArray().reduce(function (sum, x) { return Math.max(sum, x); }, 0);
};
RItemGui.prototype.StateChanged = function (get_request, set_request, set_name, set_value, get_success, set_success) {
var guids = this.getItemGuids();
if (guids.length > 1)
throw new Error("This is a single-item selected operation only.");
var guid = guids[0];
if (!guid)
throw new Error("no selected guid");
var request = {
Request: set_request,
Guid: guid,
Name: set_name,
Value: set_value
};
if (set_name === "Code")
$.extend(request, { Code: set_value });
if (Util.hashParams()['for_dataset'] === "true") {
Util.qServerRequest(request, set_success);
Util.qServerRequest({
Request: get_request,
GUID: guid
}, function (response) { return get_success(response); });
return;
}
this._hasChangedState = true;
if (Util.isDesktop() || Environment.isEditor) {
Util.qServerRequest(request, function (response) {
if (set_success)
set_success(response);
});
this.committedCurrentValue();
return;
}
throw new Error("Interesting. Why are we changing state in view mode dashboards?");
};
RItemGui.prototype.committedCurrentValue = function () {
this._lastSequenceSent = QServer.getLastSeqSent();
bugLog("%cGui controls Expecting update as a result, will reject any intermediate results until server acks seq# " + this._lastSequenceSent, Util.HighlightStyles.Ludicrous);
};
RItemGui.prototype.setDebugVisibility = function (visible, originated_in_checkbox) {
if (this._state.showDebug === visible)
return;
this._state.showDebug = visible;
if (originated_in_checkbox) {
this.do_flip("div#{0} .flip-1".format(this.id()), visible);
this.changeOption("debugconsole", visible, originated_in_checkbox);
}
else {
this.set_flip("div#{0} .flip-1".format(this.id()), visible);
}
};
RItemGui.prototype.do_flip = function (clss, flipToBack) {
var _this = this;
console.log("flip: " + this._state.oldLayout);
var id = this.id();
$('div#{0} #resizable-box > .splitPanel'.format(id)).css("overflow", "visible");
var other = (this._state.oldLayout === Layout.Top) === clss.endsWith(".flip-0") ? "bottom" : "top";
$('div#{0} #resizable-box .splitPanel-{1}'.format(id, other)).css("z-index", "-1");
$('div#{0} #resizable-box .ui-icon-gripsmall-diagonal-se'.format(id)).css('visibility', "hidden");
var fc = $(clss).closest('.flip-container');
fc.addClass('flip-animating');
setTimeout(function () {
fc.addClass('flip-transition');
if (flipToBack)
$(clss).addClass("flipped");
else
$(clss).removeClass("flipped");
setTimeout(function () {
fc.removeClass('flip-transition');
fc.removeClass('flip-animating');
$('div#{0} #resizable-box .splitPanel-{1}'.format(id, other)).css("z-index", "0");
$('div#{0} #resizable-box > .splitPanel'.format(id)).css("overflow", "hidden");
if (!flipToBack && _this.rItemCodeEditor)
_this.rItemCodeEditor.refresh("flipping");
$('div#{0} #resizable-box .ui-icon-gripsmall-diagonal-se'.format(id)).css('visibility', "visible");
}, 600);
}, 0);
};
RItemGui.prototype.showDependencies = function (svg, width) {
this.clear();
var elt = $('
');
this._addElement(elt);
elt.append($('')
.addClass("ritem-image")
.css("width", 4 * width + "px")
.css("background", "url(data:image/svg+xml;base64,{0})".format(svg)));
};
RItemGui.prototype.showPreview = function (html, is_man_page) {
};
RItemGui.prototype.setLastUpdatedText = function (message) {
this.lastUpdatedMessageMaintainer.setTextAndTooltip(message);
};
RItemGui.prototype.doneDisplaying = function () {
var _this = this;
setTimeout(function () {
_this._readyForTraining = true;
_this.guiControlsReadyForTraining = true;
_this.outputReadyForTraining = true;
if (App.ui.inspector)
App.ui.inspector.update("ready for training");
}, 100, "REALLY ready for training");
};
RItemGui.prototype.getPendingOperations = function () {
var pending = new PendingOperations();
if (!this._readyForTraining) {
pending.add('RItemGui', '', '!_readyForTraining');
return pending;
}
if (!this.guiControlsReadyForTraining) {
pending.add('RItemGui', '', '!guiControlsReadyForTraining');
return pending;
}
if (!this.outputReadyForTraining) {
pending.add('RItemGui', '', '!outputReadyForTraining');
return pending;
}
if (this._waitingForTableStyles) {
pending.add('RItemGui', '', '_waitingForTableStyles');
return pending;
}
if (this._state.outputType === OutputType.WIDGET) {
var widget_iframe = $('.r-htmlwidget-iframe');
if (widget_iframe.length) {
var widget_iframe_element = widget_iframe[0];
if (!widget_iframe_element.contentWindow['HTMLWidgets']) {
pending.add('RItemGui', '', 'HTMLWidget not rendered');
return pending;
}
if (!widget_iframe_element.contentWindow['HTMLWidgets'].isRendered) {
pending.add('RItemGui', '', 'HTMLWidget not rendered');
return pending;
}
var widget_document = widget_iframe_element.contentDocument;
var widget_readystate = widget_document.readyState;
if (widget_readystate !== 'complete') {
pending.add('RItemGui', '', 'HTMLWidget document readyState not complete', widget_readystate);
return pending;
}
var widget_window = widget_iframe_element.contentWindow;
if (widget_window['jQuery']) {
var outstanding_ajax = widget_window['jQuery'].ajax.active !== undefined ? widget_window['jQuery'].ajax.active : widget_window['jQuery'].active;
if (outstanding_ajax !== 0) {
pending.add('RItemGui', '', 'HTMLWidget outstanding jQuery ajax requests', outstanding_ajax);
return pending;
}
}
for (var i = 0; i < widget_document.images.length; i++) {
var img = widget_document.images[i];
if (!img.complete || img.naturalWidth === 0 || img.naturalHeight === 0) {
pending.add('RItemGui', '', 'HTMLWidget images not loaded');
return pending;
}
}
if ($('*', widget_iframe.contents()).is(function (index, element) { return element['__transition__']; })) {
pending.add('RItemGui', '', 'HTMLWidget d3 animations in progress');
return pending;
}
if (this.transitionsInProgress($('.leaflet-fade-anim .leaflet-tile-loaded', widget_iframe.contents()), 250)) {
pending.add('RItemGui', '', 'HTMLWidget CSS animations in progress');
return pending;
}
}
}
return pending;
};
/** Tracks when the given elements have finished their transitions.
* Because we are called in a polling manner, and there is only a
* transitionend event and no transitionstart event, we have no way of
* knowing when the native transitions end and must rely on setTimeouts. */
RItemGui.prototype.transitionsInProgress = function (elements, transition_length) {
var in_transition = false;
elements.each(function (index, elem) {
if (elem.attributes.getNamedItem('data-regrtest-transitioning')) {
in_transition = true;
}
else if (!elem.attributes.getNamedItem('data-regrtest-transitioned')) {
in_transition = true;
elem.setAttribute('data-regrtest-transitioning', '');
setTimeout(function () {
elem.removeAttribute('data-regrtest-transitioning');
elem.setAttribute('data-regrtest-transitioned', '');
}, transition_length);
}
});
return in_transition;
};
RItemGui.prototype.getState = function () {
return this._state;
};
RItemGui.prototype.getCodeEditors = function () {
return RibbonCodeEditor.getEditorsFor(this.guids[0]);
};
RItemGui.prototype.hasChangedState = function () {
return this._hasChangedState;
};
return RItemGui;
}());
RItemGui._nextPlotId = 0;
/**
* Allows us to get notfications before ribbon controls change, so that
* we can commit any outstanding text editors (who won't get an onblur
* in time).
*/
var RItemRibbonForControls = (function () {
function RItemRibbonForControls(gui) {
var _this = this;
this.onBeforeChange = new EventSource();
this.onChanged = new EventSource();
this._gui = gui;
this.onBeforeChange.add(function (ctl) {
if (!(ctl instanceof RibbonTextBox) && !(ctl instanceof RibbonUpDown))
_this._gui.commitTextBoxes();
});
}
RItemRibbonForControls.prototype.addToCtlMap = function (ctl) {
};
RItemRibbonForControls.prototype.hideRibbon = function () {
};
return RItemRibbonForControls;
}());
;
// /Scripts/Dashboard/RItem/RItemMultiGui.ts
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var RItemMultiGui = (function (_super) {
__extends(RItemMultiGui, _super);
function RItemMultiGui(guids, centre, state, notification_bar) {
var _this = _super.call(this, guids, centre, state, notification_bar, false) || this;
_this._guids = [];
return _this;
}
RItemMultiGui.prototype.setupBody = function () {
};
RItemMultiGui.prototype.setupLeftSide = function (leftPanel) {
leftPanel.empty();
var contentFrame = $('
');
contentFrame.append(this._jqObj);
};
RItemMultiGui.prototype.updateInspectorSize = function () {
};
RItemMultiGui.prototype.resizeOutput = function () {
};
RItemMultiGui.prototype.setAvailableOutputTypes = function (list, choice, enabled) {
};
RItemMultiGui.prototype.changeLayout = function (layout) {
this._state.oldLayout = layout;
};
RItemMultiGui.prototype.refreshMultipleRItems = function (guids, summary, options, zoom) {
this._editMode = true;
this.setupLeftSide(this._jqCenter);
this.clear();
this._guids = guids;
this.setZoom(zoom);
this.displayMultipleItems(summary);
this.setLastUpdatedText("");
};
RItemMultiGui.prototype.displayMultipleItems = function (items) {
var _this = this;
this.multiple = true;
this.clear();
this.showNoCode();
this._jqObj.removeClass("red");
var div = $('
')
.addClass('multi-item')
.text(Translate("Multiple R items have been selected."))
.append($(' '))
.append($(' '));
var table = $('
')
.addClass('multi-item')
.append($('
').html('
{0}
{1}
{2}
{3}
{4}
{5}
'.format('Item', 'Last Updated', 'Duration', 'Updating', 'Status', 'Errors')));
var grey = [];
for (var i = 0; i < items.length; i++) {
var row = $('
').html('
{0}
{1}
{2}
{3}
{4}
{5}
'.format(items[i][1], items[i][2], items[i][3], items[i][4], items[i][5], items[i][6]));
if (items[i][0] === "grey") {
row.addClass("ritem-not-calculated");
grey.push(this._guids[i]);
}
row.click(function (e) {
});
table.append(row);
}
var update_these = new RibbonButton('btnUpdateThese', Translate('Update all these items'), null, 'medium', null, function () {
_this.commitTextBoxes();
QServerRequestsCommon.RItemUpdateMultiClicked({
AllItems: false,
GUIDs: _this._guids
});
});
update_these.addToDialog(div, null);
update_these.enabled(true);
if (grey.length > 0) {
div.append(" ");
div.append(" ");
var update_grey = new RibbonButton('btnUpdateGrey', Translate('Update grey items'), null, 'medium', null, function () {
_this.commitTextBoxes();
console.log(grey);
QServerRequestsCommon.RItemUpdateMultiClicked({
AllItems: false,
GUIDs: grey
});
});
update_grey.addToDialog(div, null);
update_grey.enabled(true);
}
div.append(table);
this._addElement(div);
this.doneDisplaying();
};
RItemMultiGui.prototype.leaveMulti = function () {
this.clear();
};
RItemMultiGui.prototype.resize = function (size) {
};
RItemMultiGui.prototype.showNoCode = function () {
if (this.rItemCodeEditor)
this.rItemCodeEditor.visible(false);
};
RItemMultiGui.prototype.editCode = function () {
};
RItemMultiGui.prototype.highlightSpans = function (spans) {
};
RItemMultiGui.prototype.resetNotificationBar = function () {
};
RItemMultiGui.prototype.setAppearanceOptions = function () {
};
RItemMultiGui.prototype.showControlCode = function (code) {
};
RItemMultiGui.prototype.handleTableEvents = function (table) {
};
RItemMultiGui.prototype.onOutputTypeChosen = function () {
};
RItemMultiGui.prototype.getPendingOperations = function () {
var pending = _super.prototype.getPendingOperations.call(this);
this._jqObj.find('.col-lastupdated, .col-duration').not(':empty').text('masked');
return pending;
};
return RItemMultiGui;
}(RItemGui));
;
// /Scripts/Dashboard/RItem/RItemForDashboard.ts
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var RItemForDashboard = (function (_super) {
__extends(RItemForDashboard, _super);
function RItemForDashboard(guid, element, state) {
return _super.call(this, [guid], $(element), state, null, true) || this;
}
/** Called when an R Item is exported as an image.
* We load a new HTML page and call this function to do a complete render. */
RItemForDashboard.initialiseEmbeddedItem = function (guid) {
App = new Application(ApplicationContext.WebEmbedded);
var state = new RItemState(JSON.parse(Util.htmlDecode(document.getElementById('rItemStateJson').innerHTML)));
var gui = new RItemForDashboard(guid, $('#ritemforexporting')[0], state);
gui.applyInitialState();
getPendingOperationsBeforeScreenshot = function () {
var pending = Util.getPendingOperations();
pending.addRange(gui.getPendingOperations());
return pending.isEmpty() ? null : pending.toString();
};
};
RItemForDashboard.prototype.setupBody = function () {
var _this = this;
this.setupLeftSide(this._jqCenter);
this.rItemCodeEditor.attachOnDoubleClickHandler(function () {
if (!_this.rItemCodeEditor.isMaximised())
$('a#maximiseEditor').click();
App.ui.inspector.setCurrentPage(ObjectInspectorPageType.Properties);
});
};
RItemForDashboard.prototype.resize = function (size) {
var box = $('div#{0} #resizable-box'.format(this.id()));
box.css({ left: 0, top: 0, width: size.width, height: size.height });
if (this.rItemCodeEditor)
this.rItemCodeEditor.refresh("resized");
this._setDomScrollbars();
};
RItemForDashboard.prototype.handleTableEvents = function (table) {
var _this = this;
if (this._editMode) {
_super.prototype.handleTableEvents.call(this, table);
return;
}
if (!Environment.isViewer)
return;
table.tableJQ.on('tableaction', function (event, action) {
if (Environment.isEmbedded)
alert('Coming soon :-)');
else
_this.onTableAction(action);
});
table.tableJQ.on('tablefilteropen', function (event, header) {
if (Environment.isEmbedded)
alert('Coming soon :-)');
else
_this.onTableFilterOpen(header);
});
};
return RItemForDashboard;
}(RItemGui));
;
// /Scripts/Dashboard/RItem/RItemDragNDrop.ts
/** Connects the TreeView (showing Q's report tree and data files->questions->variables)
* to any drop boxes on the R Controls panel.
* The user drags from the TreeView and drops onto the drop boxes. */
var RItemDragNDrop = (function () {
function RItemDragNDrop(tree_view, element) {
var _this = this;
this._dragInProgress = false;
this._removed = false;
this.onDragStartOrStop = new EventSource();
this._treeView = tree_view;
this._dropIndicator = $('
');
console.log("RItemDragNDrop:()");
this._element = element;
$(element).draggable({
appendTo: "body",
cursorAt: { left: RItemDragHelper.widthOfSelectionFromTree(this._treeView) / 2 + 2, top: 0 },
opacity: 0.75,
helper: function (event) { return _this._makeHelper(event); },
scroll: false,
start: function () { return _this._start(); },
drag: function (event, ui) { return _this._drag(event, ui); },
stop: function (event, ui) { return _this._stop(event, ui); },
delay: 0
});
}
RItemDragNDrop.prototype.esc = function () {
$(document).mouseup();
this._remove();
};
RItemDragNDrop.prototype.dispose = function () {
$(document).mouseup();
this._remove();
};
RItemDragNDrop.prototype._remove = function () {
if (this._removed)
return false;
console.log("RItemDragNDrop:_remove");
if (this._dragHelper) {
this._dragHelper.getJq().detach();
this._dragHelper = null;
}
var el = $(this._element);
if (el.data('ui-draggable'))
el.draggable("destroy");
return this._removed = true;
};
RItemDragNDrop.prototype._start = function () {
this.onDragStartOrStop.trigger(true);
};
RItemDragNDrop.prototype._drag = function (event, ui) {
var drop_box = this._dragHelper.getDropBox();
if (drop_box)
drop_box.updateHighlight(ui);
console.log("dragging: {0}".format(drop_box));
};
RItemDragNDrop.prototype._stop = function (event, ui) {
this.onDragStartOrStop.trigger(false);
ui.helper.detach();
if (!this._dragInProgress)
return;
this._remove();
};
RItemDragNDrop.prototype._makeHelper = function (event) {
this._dragHelper = new RItemDragHelper(this._treeView, this._element, event);
return this._dragHelper.getJq();
};
return RItemDragNDrop;
}());
/** Creates the 'helper' jQuery element for the jQuery UI draggable plugin.
* This represents the data the user has dragged from the TreeView. */
var RItemDragHelper = (function () {
function RItemDragHelper(treeView, element, event) {
this._treeView = treeView;
var guid = element.id;
var selected = this._treeView.getModel().getSortedSelectedItems();
var which = selected.map(function (item) { return item.guid; }).indexOf(guid);
var elt = $(element);
var offset = elt.offset();
var offset_x = Util.getAndConvertToPx(element, "padding-left") + (offset.left - event.pageX) + RItemDragHelper.widthOfSelectionFromTree(this._treeView) / 2 + 14;
var offset_y = -22 * which + (offset.top - event.pageY) - 1;
var div = $("")
.css({ left: offset_x, top: offset_y, height: 22 * selected.length });
console.log("which = {0}".format(which));
selected.forEach(function (item) { return div.append(RItemDragHelper.jqForIItem(item)); });
this._jq = $("
').addClass("item-title").text(item.title));
};
RItemDragHelper.widthOfSelectionFromTree = function (treeView) {
var _this = this;
var selected = treeView.getSelection();
var div = $("
").css({ visibility: "hidden", display: "inline-block" });
treeView.getContainer().append(div);
selected.forEach(function (item) { return div.append(_this.jqForIItem(item)); });
var w = div.width();
div.remove();
return w;
};
RItemDragHelper.prototype.getJq = function () {
return this._jq;
};
RItemDragHelper.prototype.getDropBox = function () {
return this._dropBox;
};
RItemDragHelper.prototype.setDropBox = function (drop_box) {
this._dropBox = drop_box;
};
RItemDragHelper.prototype.getSelection = function () {
return this._treeView.getSelection();
};
RItemDragHelper.prototype.getSortedSelection = function () {
return this._treeView.getModel().getSortedSelectedItems();
};
return RItemDragHelper;
}());
;
// /Scripts/Ribbon/ScriptControls/DataEntryButton.ts
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
/**
* A button that pops up an Excel-style form for manual entry of data.
*/
var DataEntryButton = (function (_super) {
__extends(DataEntryButton, _super);
function DataEntryButton(name, label, tooltip, size, icon, on_changed, keyboard_shortcut, shortcut_active) {
var _this = _super.call(this, name, label, tooltip, size, icon, function () { return _this.onClick(); }, keyboard_shortcut, shortcut_active) || this;
_this._onChanged = on_changed;
return _this;
}
DataEntryButton.prototype.onClick = function () {
var _this = this;
var dialog = new DataEntryDialog(this._spreadsheetData, function (revised_data) {
_this._spreadsheetData = revised_data;
_this._onChanged();
});
dialog.show();
};
DataEntryButton.prototype.value = function (value) {
if (arguments.length)
this._spreadsheetData = value;
return this._spreadsheetData;
};
return DataEntryButton;
}(RibbonButton));
DataEntryButton.MAX_COLS = 200;
DataEntryButton.MAX_ROWS = 200;
var DataEntryDialog = (function () {
function DataEntryDialog(data, on_ok) {
this._data = data;
this._okCallback = on_ok;
}
DataEntryDialog.prototype.show = function () {
var _this = this;
this._loadHandsOnTable(function () {
var table_div;
var dialog = $('')
.append($('')
.text(Translate("Enter or Paste Data")))
.append($('')
.text(Translate("Enter data manually or use Ctrl-V to paste data from a spreadsheet.")))
.append(table_div = $('') // necessary to trick Handsontable to not takes it reference size from one of our parents. It will show its own scrollbars
)
.append($('')
.append($('')
.text(Translate("OK"))
.click(function () { return _this._onOkClicked(); }))
.append($('')
.text(Translate("Cancel"))
.click(function () { return _this._onCancelClicked(); })));
_this._blockDialog = new BlockDialog(dialog, {
position: 'fixed',
width: window.innerWidth * 0.8
}, { removeContentOnClose: true });
_this._blockDialog.show();
var entire_dialog = _this._blockDialog.surroundingDiv();
var height = Math.floor(window.innerHeight * 0.8 - entire_dialog.outerHeight()) - 4; // -4 to remove scrollbar on FF
table_div.css('height', height);
var data = _this._data;
if (data !== null && (!data.length || !data[0].length))
data = null; // Handsontable does not handle this well - does not apply extra rows/columns
var column_width = 72; // to match Excel
_this._table = new Handsontable(table_div[0], {
data: data,
colWidths: column_width,
rowHeaders: true,
colHeaders: true,
manualColumnResize: true,
manualRowResize: true,
manualColumnMove: true,
manualRowMove: true,
maxCols: DataEntryButton.MAX_COLS + 1,
maxRows: DataEntryButton.MAX_ROWS + 1,
contextMenu: true,
copyPaste: true,
minSpareRows: (height / 20) * 2,
minSpareCols: (dialog.innerWidth() / column_width) * 2
});
});
};
DataEntryDialog.prototype._onOkClicked = function () {
var data = this._table.getData();
data = this._normaliseData(data);
var nrows = data.length, ncols = data.length > 0 ? data[0].length : 0;
if (nrows > DataEntryButton.MAX_ROWS || ncols > DataEntryButton.MAX_COLS) {
Msg.ok(Translate("You may enter a table that is at most {0} x {1}. If you need to enter more data then upload it as a CSV file.").format(DataEntryButton.MAX_COLS, DataEntryButton.MAX_ROWS));
}
else {
this._okCallback(data);
this._blockDialog.close();
}
};
DataEntryDialog.prototype._onCancelClicked = function () {
this._blockDialog.close();
};
/**
* Remove trailing blanks rows and columns. Ensure all data is strings.
*
* The data from Handsontable always comes out rectangular, but it
* will always have trailing blank (null) rows and columns.
*/
DataEntryDialog.prototype._normaliseData = function (data) {
var last_row_i;
for (last_row_i = data.length - 1; last_row_i >= 0; last_row_i--)
if (!data[last_row_i].all(function (s) { return s === null || s === ""; }))
break;
var ncols = data[0].length; // just in case we are about to delete the only blank row
data.splice(last_row_i + 1, data.length - last_row_i + 1);
var last_col_i;
var found_non_empty = false;
for (last_col_i = ncols - 1; last_col_i >= 0; last_col_i--) {
for (var row_i = 0; row_i < data.length; row_i++) {
var cell = data[row_i][last_col_i];
if (cell !== null && cell !== "") {
found_non_empty = true;
break;
}
}
if (found_non_empty)
break;
}
for (var row = 0; row < data.length; row++)
data[row].splice(last_col_i + 1, data[row].length - last_col_i + 1);
for (var row_i = 0; row_i < data.length; row_i++) {
var row = data[row_i];
for (var col_i = 0; col_i < row.length; col_i++)
if (row[col_i] === null)
row[col_i] = "";
}
return data;
};
DataEntryDialog.prototype._loadHandsOnTable = function (on_loaded) {
if (DataEntryDialog._handsOnTableLoading)
return;
if (!DataEntryDialog._handsOnTableLoaded) {
var css = document.createElement('link');
css.setAttribute('rel', 'stylesheet');
css.setAttribute('type', 'text/css');
css.setAttribute('href', '/SharedWebUi/Css/handsontable.full.css');
document.body.appendChild(css);
var js = document.createElement('script');
js.setAttribute('src', '/SharedWebUi/Scripts/handsontable.full.js');
DataEntryDialog._handsOnTableLoading = true;
js.onload = function () {
DataEntryDialog._handsOnTableLoaded = true;
DataEntryDialog._handsOnTableLoading = false;
on_loaded();
};
document.body.appendChild(js);
}
else {
on_loaded();
}
};
return DataEntryDialog;
}());
DataEntryDialog._handsOnTableLoading = false;
DataEntryDialog._handsOnTableLoaded = false;
;
// /Scripts/Ribbon/ScriptControls/SCCheckBox.ts
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var SCCheckBox = (function (_super) {
__extends(SCCheckBox, _super);
function SCCheckBox() {
return _super.apply(this, arguments) || this;
}
SCCheckBox.prototype.addToDom = function (row_jq, ribbon, ribbon_section_row, nested_within_popup) {
var _this = this;
this.commonAddToDom(ribbon, ribbon_section_row, nested_within_popup);
var btn_jq = $('');
btn_jq.prop('id', this.name);
btn_jq.preventSelection();
btn_jq.addClass('ribbon-checkbox');
if (this._withinPopup) {
var icon_jq = $('');
btn_jq.append(icon_jq);
}
var span_jq = $('');
span_jq.addClass('ribbon-mediumlabel');
var chk_id = this.name + 'chk';
var label_jq = $('');
label_jq.prop('for', chk_id);
var chk_jq = $('');
chk_jq.prop('id', chk_id);
this.chkjq = chk_jq;
if (this.checkAlign === 'left') {
span_jq.append(chk_jq);
span_jq.append(label_jq);
}
else {
span_jq.append(label_jq);
span_jq.append(chk_jq);
}
btn_jq.append(span_jq);
row_jq.append(btn_jq);
chk_jq.change(function () {
_this.onCheckChanged();
});
this.btnjq = btn_jq;
return btn_jq;
};
SCCheckBox.prototype.updateDom = function () {
var _this = this;
if (!this.btnjq)
return;
this.updateDomVisibility(this.btnjq);
this.updateDomEnabled(this.btnjq, function () { return _this.chkjq.removeAttr('disabled'); }, function () { return _this.chkjq.prop('disabled', true); });
var chk = this.chkjq[0]; // cannot use jQuery ':indeterminate' because it crashes IE8
if (this.indeterminate() && !chk.indeterminate)
this.chkjq.prop('indeterminate', true);
if (!this.indeterminate() && chk.indeterminate)
this.chkjq.prop('indeterminate', false);
if (this.checked() && !this.chkjq.is(':checked'))
this.chkjq.prop('checked', true);
if (!this.checked() && this.chkjq.is(':checked'))
this.chkjq.removeAttr('checked');
if (this.label())
this.btnjq.find('label').text(this.label());
if (this.tooltip())
this.btnjq.prop('title', this.tooltip()).simpleTip();
};
return SCCheckBox;
}(RibbonCheckBox));
;
// /Scripts/Ribbon/ScriptControls/SCComboBox.ts
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var SCComboBox = (function (_super) {
__extends(SCComboBox, _super);
function SCComboBox() {
return _super.apply(this, arguments) || this;
}
SCComboBox.prototype.addToDom = function (row_jq, ribbon, ribbon_section_row, nested_within_popup) {
var _this = this;
this.commonAddToDom(ribbon, ribbon_section_row, nested_within_popup);
var span_jq = RibbonComboBox.createJqComboBox(this.name);
this.btnjq = span_jq;
this.inputjq = span_jq.find("input");
this.inputjq.attr('placeholder', Util.htmlToText(this._prompt || ''));
var dropdown_btn_jq = span_jq.find('a');
if (this.allowEdit) {
this.inputjq.keyup(function (event) {
if (event.which === Keys.enter) {
event.preventDefault();
_this.onEditCommit();
}
else if (event.which === Keys.escape) {
event.preventDefault();
_this.updateDom();
}
});
this.inputjq.focusout(function () {
_this.onEditCommit();
});
dropdown_btn_jq.mousedown(function (event) {
event.preventDefault();
_this.onClick();
});
}
else {
this.inputjq.prop('disabled', true);
span_jq.mousedown(function (event) {
event.preventDefault();
if (event.target === _this.btnjq.find('label')[0])
return; // label clicked; ignore
_this.onClick();
});
}
var div = $("
").addClass("sc-combobox").append(span_jq);
row_jq.append(div);
this.createPopupJQuery();
this.popupjq.addClass('ribbon-combobox-popup');
row_jq.append(this.popupjq);
return span_jq;
};
SCComboBox.prototype.setOptions = function (options) {
this._prompt = options["Prompt"];
this._errorMsg = options["ErrorMessage"];
this._invalidMsg = options["Invalid"];
};
return SCComboBox;
}(RibbonComboBox));
;
// /Scripts/Ribbon/ScriptControls/SCPopupColor.ts
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
/** A basic button that, when clicked, opens a gallery of colors.
* The button shown on the ribbon is overlayed with the current color.
*
* Colors should always be in rgb() format.
*
* This can have:
* a size for the button (mandatory)
* which can either be 'medium' (16x16 icon) or 'large' (32x32 icon),
*
* an icon for the button (optional)
* which can be either 16x16 or 32x32 - should match the 'size',
*
* a label for the button (optional, '' for none, if you just want to show the icon).
*
* If there is an icon, the color is overlayed upon it. If no icon, it is
* overlayed on the label.
*/
var SCPopupColor = (function (_super) {
__extends(SCPopupColor, _super);
function SCPopupColor(name, label, tooltip, size, icon_url, on_color_changed, no_color_label, more_colors_label, popup_controls) {
var _this = _super.call(this, name, null, tooltip, size, icon_url, on_color_changed, no_color_label, more_colors_label, popup_controls) || this;
_this._leftLabel = label;
return _this;
}
SCPopupColor.prototype.addToDom = function (row_jq, ribbon, ribbon_section_row, nested_within_popup) {
var btn_jq = _super.prototype.addToDom.call(this, row_jq, ribbon, ribbon_section_row, nested_within_popup);
btn_jq.addClass('ribbon-color-parent');
if (this._leftLabel)
btn_jq.parent().prepend($("