Permalink
Browse files

Working on demo…

  • Loading branch information...
1 parent ef39706 commit 2c866e1dfabb0036985662c8625d2f6011dc8c9e @jasonshaffner committed Apr 12, 2012
Showing with 754 additions and 623 deletions.
  1. +10 −0 build.sh
  2. +3 −0 clean.sh
  3. +4 −4 {raw data → data}/20120306.csv
  4. +14 −0 data/20120307.csv
  5. +14 −0 data/20120308.csv
  6. +4 −4 {raw data → data}/20120309.csv
  7. +19 −0 data/20120310.csv
  8. +19 −0 data/20120311.csv
  9. +12 −0 data/20120312.csv
  10. +19 −0 data/20120313.csv
  11. +19 −0 data/20120314.csv
  12. +17 −0 data/20120315.csv
  13. +19 −0 data/20120316.csv
  14. +19 −0 data/20120317.csv
  15. +19 −0 data/20120318.csv
  16. +19 −0 data/20120319.csv
  17. +19 −0 data/20120320.csv
  18. +19 −0 data/20120321.csv
  19. +19 −0 data/20120322.csv
  20. +19 −0 data/20120323.csv
  21. +19 −0 data/20120324.csv
  22. +19 −0 data/20120325.csv
  23. +18 −0 data/20120326.csv
  24. +19 −0 data/20120327.csv
  25. +17 −0 data/20120328.csv
  26. +18 −0 data/20120329.csv
  27. +17 −0 data/20120330.csv
  28. +16 −0 data/20120331.csv
  29. +16 −0 data/20120401.csv
  30. +14 −0 data/20120402.csv
  31. +19 −0 data/20120403.csv
  32. +17 −0 data/20120404.csv
  33. +15 −0 data/20120405.csv
  34. +19 −0 data/20120406.csv
  35. +19 −0 data/20120407.csv
  36. +19 −0 data/20120408.csv
  37. +19 −0 data/20120409.csv
  38. +15 −0 data/20120410.csv
  39. +15 −0 data/20120411.csv
  40. +0 −14 raw data/20120307.csv
  41. +0 −14 raw data/20120308.csv
  42. +0 −19 raw data/20120310.csv
  43. +0 −19 raw data/20120311.csv
  44. +0 −12 raw data/20120312.csv
  45. +0 −19 raw data/20120313.csv
  46. +0 −19 raw data/20120314.csv
  47. +0 −17 raw data/20120315.csv
  48. +0 −19 raw data/20120316.csv
  49. +0 −19 raw data/20120317.csv
  50. +0 −19 raw data/20120318.csv
  51. +0 −19 raw data/20120319.csv
  52. +0 −19 raw data/20120320.csv
  53. +0 −19 raw data/20120321.csv
  54. +0 −19 raw data/20120322.csv
  55. +0 −19 raw data/20120323.csv
  56. +0 −19 raw data/20120324.csv
  57. +0 −19 raw data/20120325.csv
  58. +0 −18 raw data/20120326.csv
  59. +0 −19 raw data/20120327.csv
  60. +0 −17 raw data/20120328.csv
  61. +0 −18 raw data/20120329.csv
  62. +0 −17 raw data/20120330.csv
  63. +0 −16 raw data/20120331.csv
  64. +0 −16 raw data/20120401.csv
  65. +0 −14 raw data/20120402.csv
  66. +0 −19 raw data/20120403.csv
  67. +0 −17 raw data/20120404.csv
  68. +0 −15 raw data/20120405.csv
  69. +0 −19 raw data/20120406.csv
  70. +0 −19 raw data/20120407.csv
  71. +0 −19 raw data/20120408.csv
  72. +0 −19 raw data/20120409.csv
  73. +0 −15 raw data/20120410.csv
  74. +0 −15 raw data/20120411.csv
  75. +4 −0 run.sh
  76. BIN src/server/Server$DataSet.class
  77. BIN src/server/Server.class
  78. +114 −0 src/server/Server.java
View
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+CLASSPATH="."
+BUILDDIR="../classes/"
+
+cd src/
+echo "Building..."
+javac -cp $CLASSPATH -d $BUILDDIR $1 server/*.java
+javac -cp $CLASSPATH -d $BUILDDIR $1 database/*.java
+javac -cp $CLASSPATH -d $BUILDDIR $1 client/*.java
View
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+rm -rf classes/
@@ -5,8 +5,8 @@
# ----------------------------------------
City,Visits,Pages/Visit,Avg. Visit Duration,% New Visits,Bounce Rate
-Fulton,2,6.50,00:12:17,0.00%,0.00%
-Hyattsville,1,4.00,00:00:49,0.00%,0.00%
-Plainville,1,5.00,00:02:50,100.00%,0.00%
-,4,5.50,00:07:03,25.00%,0.00%
+Fulton,2,6.50,00:12:17,0.00,0.00,
+Hyattsville,1,4.00,00:00:49,0.00,0.00,
+Plainville,1,5.00,00:02:50,100.00,0.00,
+,4,5.50,00:07:03,25.00,0.00
View
@@ -0,0 +1,14 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120307-20120307
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration,% New Visits,Bounce Rate
+Weedsport,5,8.80,00:10:59,40.00,40.00,
+Baltimore,3,2.33,00:01:23,0.00,66.67,
+Fulton,3,4.33,00:02:19,0.00,0.00,
+Plainville,2,4.00,00:01:39,0.00,50.00,
+New York,1,2.00,00:00:21,0.00,0.00,
+,14,5.29,00:04:58,14.29,35.71
+
View
@@ -0,0 +1,14 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120308-20120308
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration,% New Visits,Bounce Rate
+Oswego,5,2.40,00:07:49,20.00,60.00,
+Weedsport,4,2.50,00:11:04,25.00,0.00,
+Fulton,3,1.67,00:00:04,0.00,66.67,
+Plainville,1,1.00,00:00:00,0.00,100.00,
+Syracuse,1,16.00,00:01:18,100.00,0.00,
+,14,3.14,00:06:04,21.43,42.86
+
@@ -5,8 +5,8 @@
# ----------------------------------------
City,Visits,Pages/Visit,Avg. Visit Duration,% New Visits,Bounce Rate
-Fulton,4,2.00,00:07:16,0.00%,75.00%
-Weedsport,2,1.00,00:00:00,50.00%,100.00%
-East Syracuse,1,3.00,00:00:15,100.00%,0.00%
-,7,1.86,00:04:11,28.57%,71.43%
+Fulton,4,2.00,00:07:16,0.00,75.00,
+Weedsport,2,1.00,00:00:00,50.00,100.00,
+East Syracuse,1,3.00,00:00:15,100.00,0.00,
+,7,1.86,00:04:11,28.57,71.43
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120310-20120310
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+East Syracuse,4,6.00,00:02:43,25.00,0.00,
+New York,4,1.25,00:00:11,75.00,75.00,
+Syracuse,3,4.67,00:02:23,100.00,33.33,
+Fulton,2,1.00,00:00:00,0.00,100.00,
+Oldsmar,1,1.00,00:00:00,100.00,100.00,
+Orlando,1,2.00,00:00:13,100.00,0.00,
+Cambridge,1,1.00,00:00:00,100.00,100.00,
+Camillus,1,1.00,00:00:00,100.00,100.00,
+Franklin Square,1,2.00,00:00:05,100.00,0.00,
+Herkimer,1,1.00,00:00:00,100.00,100.00,
+,24,2.42,00:00:48,70.83,62.50
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120311-20120311
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Fulton,3,7.00,00:03:52,0.00,0.00,
+New York,3,1.33,00:00:02,100.00,66.67,
+Buffalo,2,2.00,00:00:06,100.00,50.00,
+Syracuse,2,1.00,00:00:00,100.00,100.00,
+Carson,1,2.00,00:00:43,100.00,0.00,
+Largo,1,1.00,00:00:00,100.00,100.00,
+Chicago,1,1.00,00:00:00,100.00,100.00,
+North Bergen,1,2.00,00:00:26,100.00,0.00,
+Altamont,1,1.00,00:00:00,100.00,100.00,
+Auburn,1,1.00,00:00:00,100.00,100.00,
+,24,2.17,00:00:37,83.33,58.33
+
View
@@ -0,0 +1,12 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120312-20120312
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,3,1.00,00:00:00,33.33,100.00,
+Sterling Heights,1,2.00,00:03:11,100.00,0.00,
+Weedsport,1,3.00,00:01:33,0.00,0.00,
+,5,1.60,00:00:57,40.00,60.00
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120313-20120313
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,7,3.29,00:00:11,85.71,42.86,
+Weedsport,4,4.25,00:11:18,50.00,50.00,
+Tempe,2,2.50,00:00:15,100.00,50.00,
+New York,2,1.00,00:00:00,100.00,100.00,
+Torrington,1,2.00,00:02:11,100.00,0.00,
+Atlanta,1,1.00,00:00:00,100.00,100.00,
+Twin Falls,1,1.00,00:00:00,100.00,100.00,
+Chicago,1,1.00,00:00:00,100.00,100.00,
+Bowling Green,1,1.00,00:00:00,100.00,100.00,
+South Yarmouth,1,1.00,00:00:00,100.00,100.00,
+,37,2.08,00:01:25,83.78,70.27
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120314-20120314
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Weedsport,15,4.73,00:10:35,40.00,33.33,
+Syracuse,14,7.00,00:11:30,35.71,21.43,
+Plano,3,1.33,00:00:05,100.00,66.67,
+Oneida,2,1.00,00:00:00,50.00,100.00,
+(not set),1,1.00,00:00:00,100.00,100.00,
+Richmond,1,1.00,00:00:00,100.00,100.00,
+Phoenix,1,1.00,00:00:00,100.00,100.00,
+Torrington,1,1.00,00:00:00,0.00,100.00,
+Atlanta,1,1.00,00:00:00,100.00,100.00,
+Iola,1,2.00,00:00:48,100.00,0.00,
+,52,4.10,00:06:26,61.54,42.31
+
View
@@ -0,0 +1,17 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120315-20120315
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Weedsport,11,1.82,00:06:46,36.36,54.55,
+Silver Spring,2,2.00,00:00:40,0.00,50.00,
+Rochester,2,5.50,00:00:49,100.00,0.00,
+Syracuse,2,1.00,00:00:00,0.00,100.00,
+Buffalo,1,1.00,00:00:00,100.00,100.00,
+Schenectady,1,8.00,00:00:58,100.00,0.00,
+Skaneateles,1,1.00,00:00:00,100.00,100.00,
+Seattle,1,1.00,00:00:00,100.00,100.00,
+,21,2.29,00:03:44,47.62,57.14
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120316-20120316
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,19,23.37,00:29:17,0.00,15.79,
+Weedsport,3,6.67,00:04:46,33.33,33.33,
+(not set),2,1.00,00:00:00,100.00,100.00,
+Montgomery,1,3.00,00:00:14,100.00,0.00,
+Agawam,1,1.00,00:00:00,100.00,100.00,
+Buffalo,1,10.00,00:04:02,100.00,0.00,
+East Aurora,1,1.00,00:00:00,100.00,100.00,
+East Syracuse,1,1.00,00:00:00,0.00,100.00,
+Getzville,1,2.00,00:00:37,100.00,0.00,
+Jamestown,1,1.00,00:00:00,100.00,100.00,
+,35,14.06,00:16:34,34.29,37.14
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120317-20120317
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,3,2.67,00:00:44,66.67,0.00,
+(not set),1,8.00,00:01:50,100.00,0.00,
+Albany,1,1.00,00:00:00,100.00,100.00,
+Batavia,1,4.00,00:01:26,100.00,0.00,
+Bowmansville,1,3.00,00:00:08,100.00,0.00,
+Buffalo,1,1.00,00:00:00,100.00,100.00,
+Canandaigua,1,1.00,00:00:00,100.00,100.00,
+East Syracuse,1,1.00,00:00:00,0.00,100.00,
+Franklin Square,1,1.00,00:00:00,100.00,100.00,
+Geneseo,1,2.00,00:00:21,100.00,0.00,
+,18,2.39,00:00:27,83.33,55.56
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120318-20120318
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,5,3.80,00:01:14,60.00,0.00,
+Hamburg,1,1.00,00:00:00,100.00,100.00,
+Jakarta,1,8.00,00:02:12,100.00,0.00,
+Boston,1,1.00,00:00:00,100.00,100.00,
+Great Barrington,1,2.00,00:00:19,100.00,0.00,
+Barneveld,1,1.00,00:00:00,100.00,100.00,
+Geneva,1,2.00,00:00:24,100.00,0.00,
+Plainville,1,4.00,00:02:17,0.00,0.00,
+Plattsburgh,1,1.00,00:00:00,100.00,100.00,
+Rochester,1,1.00,00:00:00,100.00,100.00,
+,19,2.79,00:00:38,78.95,47.37
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120319-20120319
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Glendale,1,1.00,00:00:00,100.00,100.00,
+New Milford,1,1.00,00:00:00,100.00,100.00,
+Lisle,1,1.00,00:00:00,100.00,100.00,
+Pittsfield,1,2.00,00:01:04,100.00,0.00,
+Williamstown,1,2.00,00:00:31,100.00,0.00,
+Ballston Lake,1,1.00,00:00:00,100.00,100.00,
+Batavia,1,1.00,00:00:00,100.00,100.00,
+Brewerton,1,2.00,00:01:43,100.00,0.00,
+Buffalo,1,3.00,00:01:13,100.00,0.00,
+Ilion,1,4.00,00:00:52,100.00,0.00,
+,15,1.73,00:00:22,100.00,60.00
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120320-20120320
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,6,7.83,00:08:19,16.67,16.67,
+Weedsport,4,8.00,00:05:11,25.00,25.00,
+Pittsfield,2,1.00,00:00:00,100.00,100.00,
+Hempstead,2,10.50,00:00:06,100.00,50.00,
+Watertown,2,2.00,00:00:42,100.00,50.00,
+Glendale,1,1.00,00:00:00,100.00,100.00,
+Chicopee,1,1.00,00:00:00,100.00,100.00,
+Rockland,1,3.00,00:00:48,100.00,0.00,
+Keene,1,3.00,00:01:35,100.00,0.00,
+Howell,1,1.00,00:00:00,100.00,100.00,
+,32,4.34,00:02:30,71.88,53.12
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120321-20120321
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Buffalo,5,2.00,00:00:36,100.00,40.00,
+Weedsport,5,5.20,00:01:21,20.00,20.00,
+East Syracuse,2,8.50,00:04:43,0.00,0.00,
+Hicksville,2,2.00,00:00:17,100.00,0.00,
+New York,2,4.00,00:01:39,100.00,0.00,
+Syracuse,2,2.00,00:00:58,100.00,50.00,
+Danbury,1,2.00,00:00:49,100.00,0.00,
+Springfield,1,3.00,00:00:06,100.00,0.00,
+Baldwinsville,1,4.00,00:05:13,0.00,0.00,
+Broadalbin,1,1.00,00:00:00,100.00,100.00,
+,29,3.07,00:01:12,75.86,31.03
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120322-20120322
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Oswego,3,19.33,00:22:45,0.00,33.33,
+Brooklyn,2,1.50,00:00:20,100.00,50.00,
+Buffalo,2,1.00,00:00:00,100.00,100.00,
+Syracuse,2,1.00,00:00:00,100.00,100.00,
+Richmond,1,1.00,00:00:00,100.00,100.00,
+Glendale,1,1.00,00:00:00,100.00,100.00,
+New Milford,1,6.00,00:00:09,100.00,0.00,
+Lewistown,1,8.00,00:01:52,100.00,0.00,
+Jersey City,1,2.00,00:01:05,100.00,0.00,
+Amsterdam,1,3.00,00:01:19,100.00,0.00,
+,26,4.12,00:02:53,88.46,57.69
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120323-20120323
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,3,3.33,00:01:36,66.67,66.67,
+Springfield,2,2.00,00:00:29,100.00,0.00,
+Buffalo,2,3.50,00:00:17,100.00,0.00,
+Rochester,2,4.50,00:02:58,100.00,0.00,
+Easthampton,1,2.00,00:00:17,100.00,0.00,
+Brimley,1,8.00,00:02:22,100.00,0.00,
+Akron,1,1.00,00:00:00,100.00,100.00,
+Amsterdam,1,1.00,00:00:00,100.00,100.00,
+Avon,1,1.00,00:00:00,100.00,100.00,
+Boonville,1,1.00,00:00:00,100.00,100.00,
+,27,2.70,00:01:25,92.59,44.44
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120324-20120324
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,2,1.00,00:00:00,100.00,100.00,
+Poway,1,8.00,00:02:00,100.00,0.00,
+Baldwinsville,1,1.00,00:00:00,100.00,100.00,
+Buffalo,1,1.00,00:00:00,100.00,100.00,
+Fairport,1,1.00,00:00:00,100.00,100.00,
+Guilderland,1,1.00,00:00:00,100.00,100.00,
+Hamburg,1,2.00,00:11:47,100.00,0.00,
+Macedon,1,2.00,00:01:08,100.00,0.00,
+Olean,1,1.00,00:00:00,100.00,100.00,
+Utica,1,1.00,00:00:00,100.00,100.00,
+,14,1.79,00:01:07,92.86,71.43
+
View
@@ -0,0 +1,19 @@
+# ----------------------------------------
+# jason
+# Location
+# 20120325-20120325
+# ----------------------------------------
+
+City,Visits,Pages/Visit,Avg. Visit Duration, New Visits,Bounce Rate
+Syracuse,20,19.15,00:35:51,5.00,5.00,
+Glendale,1,1.00,00:00:00,100.00,100.00,
+North Metro,1,8.00,00:01:55,100.00,0.00,
+Lebanon,1,9.00,00:02:57,100.00,0.00,
+Albany,1,1.00,00:00:00,100.00,100.00,
+Baldwinsville,1,3.00,00:00:33,100.00,0.00,
+Buffalo,1,4.00,00:00:09,100.00,0.00,
+Cicero,1,1.00,00:00:00,100.00,100.00,
+Corning,1,1.00,00:00:00,100.00,100.00,
+Ft Drum,1,1.00,00:00:00,100.00,100.00,
+,38,11.13,00:19:04,47.37,34.21
+
Oops, something went wrong.

0 comments on commit 2c866e1

Please sign in to comment.