Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request #481 from HaishiBai/master
Browse files Browse the repository at this point in the history
script updates - final
  • Loading branch information
HaishiBai committed Mar 30, 2016
2 parents fcd19f3 + 0ac6962 commit c32900e
Show file tree
Hide file tree
Showing 22 changed files with 392 additions and 56 deletions.
4 changes: 4 additions & 0 deletions scripts/Assets/tables/mlinput/2016/03/12/000000_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
250fa603-031a-4321-99be-6f7536f5f200,ismihan-mk,2016-03-12 21:47:29,301.26840160686606,7.522611604917671,0.0
3c39a0ca-ce61-441c-b54c-2414c47fd616,ismihan-mk,2016-03-12 20:15:01,333.3932322567024,8.010799382039124,0.018456375838926176
805780fe-8681-4777-82e4-6013da0ce470,davecraw-mk,2016-03-12 03:01:04,442.07946112205474,7.986265655596267,0.005454545454545455
f52d3886-6748-4238-bfe8-6d60e0ee8b22,ismihan-mk,2016-03-12 22:56:33,282.0496796053117,7.368093302909363,8.257638315441783E-4
42 changes: 42 additions & 0 deletions scripts/Assets/tables/mlinput/2016/03/18/000000_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
003fc3f0-bd9b-4673-bd33-a343940a326d,1,2016-03-20 08:11:06,0.0,0.0,1.0
14cb073b-f148-464e-96a1-6548208824f8,1,2016-03-20 16:10:57,0.0,0.0,0.0
24c84e2d-ccd3-4e5d-af45-cf4361911c1d,1,2016-03-20 16:10:52,0.0,0.0,1.0
2a203a61-9464-4682-8508-5b70baede7f7,1,2016-03-20 08:10:25,0.0,0.0,\N
322ecd58-f903-4e95-ae8f-cb6d690ea5ba,Facebook:203538940012375,2016-03-20 00:24:58,863.4476002999502,102.93757525608838,0.1952191235059761
3311f8ea-a8e4-4c3e-a0d2-2bd4943f6183,1,2016-03-20 16:11:09,0.0,0.0,0.0
3677a316-2e44-4f4c-8294-e20684ec3e17,Facebook:203538940012375,2016-03-20 07:58:24,1015.643805229149,194.64778767218172,0.3
38056345-39a2-474d-b5e4-18b978647470,Facebook:203538940012375,2016-03-20 07:59:38,1230.635246980644,176.77748096909227,0.0
522b5c31-0750-4c61-8f68-42bcd6af123b,Facebook:203538940012375,2016-03-20 06:47:56,1129.869619922888,124.64693347488078,0.0
69947721-da34-4c8f-af4b-54e4f7e69f00,Facebook:203538940012375,2016-03-20 08:46:23,730.4264619566645,19.076644551569828,0.5
7628c48a-12bc-4fef-8b9f-9e2c32739d7c,1,2016-03-20 16:10:35,0.0,0.0,0.0
79cad820-1ead-494b-be15-1a65bf342db8,Facebook:203538940012375,2016-03-20 07:37:35,1403.8282681822657,192.62464895616947,0.3
7a4f1137-a99a-48e7-bfa3-6a1037bcb449,1,2016-03-20 08:11:09,0.0,0.0,1.0
7ddcffb7-1351-46ea-bd62-63232a541625,Twitter:19249356,2016-03-20 23:06:20,1154.826261687427,204.21953059322132,0.13823529411764707
81200e11-e4f8-40fc-a1cc-14848c388e46,1,2016-03-20 22:15:36,0.0,0.0,\N
814609ee-7b7a-4d32-9492-d2b2fddf49f8,Facebook:203538940012375,2016-03-20 17:41:23,1367.1717191689165,34.55470591440513,0.3333333333333333
86e6e92b-a239-4e72-a8b2-802dafd1ff8a,Facebook:979553468780247,2016-03-20 22:54:20,1356.1098846958516,126.66263838458674,0.014388489208633094
878e22d4-c451-4e0a-ac42-bf60b1ce9237,Facebook:203538940012375,2016-03-20 08:45:35,377.87328857994476,10.842303978193728,0.0
8b8a8351-e0e6-489f-a3e3-8f0e2d6e7025,1,2016-03-20 02:00:38,0.0,0.0,0.0
911a01c5-a5a4-4d12-988d-23fa44c88953,1,2016-03-20 08:10:23,0.0,0.0,0.0
976a8901-e800-4c9d-a364-68fadf8f5ae5,1,2016-03-20 08:10:24,0.0,0.0,\N
98346ebc-96e7-4f8a-baf7-633a1e88344b,1,2016-03-20 08:10:50,0.0,0.0,0.0
a0eb0031-c4af-4049-b225-798e3b08c8e1,Facebook:203538940012375,2016-03-20 06:07:02,1247.2508898462338,180.18914753360949,0.2962962962962963
af3beb3a-4238-43e5-9a23-f6dc43e4ed10,Facebook:203538940012375,2016-03-20 08:45:50,438.4281583110282,11.180339887498949,0.5
b0132ff6-8e92-4d7b-a6b3-0ceaef3f9afb,1,2016-03-20 00:03:00,0.0,0.0,0.0
b1bdbefa-2833-4225-bde2-550041fbdaea,1,2016-03-20 16:11:17,0.0,0.0,0.0
b4ce58cd-2191-470b-9454-bf4447b40d35,Facebook:203538940012375,2016-03-18 23:51:19,1192.8744923703184,130.3985648474925,0.21951219512195122
b58afdba-f60b-42ae-bca9-8c4d7f74c6be,1,2016-03-20 16:10:56,0.0,0.0,0.0
b8a3500c-89df-47a0-9a22-381e5acf3575,1,2016-03-20 08:10:59,0.0,0.0,0.0
b94dca78-6859-47f5-bef1-a7f679bbaf89,1,2016-03-20 16:10:47,0.0,0.0,1.0
c05899dd-267b-453b-b244-69445f71e3ce,1,2016-03-20 08:10:28,0.0,0.0,0.0
c08d750e-d7e5-4afc-9514-dfb258f01a94,1,2016-03-20 08:11:01,0.0,0.0,1.0
c0dcda52-a310-4632-ab77-94e783a8b2f0,Facebook:203538940012375,2016-03-20 09:23:19,1203.6208336146026,32.50337114519768,0.125
c6e149b4-ff1e-45d5-bbed-26bf42c5c115,Facebook:203538940012375,2016-03-20 06:45:49,1314.5186262798125,154.01090606655845,0.3939393939393939
d2f1b183-44e9-48fa-8c29-a8374c797490,1,2016-03-20 16:10:37,0.0,0.0,0.0
d7455553-bce5-4207-ab91-94e650562f81,1,2016-03-20 08:10:44,0.0,0.0,\N
da877def-9408-4852-b71b-bf1b109c105c,1,2016-03-20 08:10:47,0.0,0.0,0.0
e6f97648-f834-42a6-8451-53651bec0eed,Facebook:203538940012375,2016-03-20 08:43:53,1201.5935419267198,65.98297918150307,0.3157894736842105
f064e7f8-8e35-48e7-aa66-cc936486f9a2,Facebook:10156612592435524,2016-03-20 14:47:04,1021.2743754066578,27.507708244341824,0.23076923076923078
f09627ce-5efc-4977-8172-855545334c58,1,2016-03-20 16:10:39,0.0,0.0,0.0
f21413fb-d216-47e4-8b72-bf2ea7a2e7ef,1,2016-03-20 16:11:23,0.0,0.0,0.0
f50dad83-430e-4e19-a959-647ba75bdfb1,Facebook:203538940012375,2016-03-20 08:46:03,423.55456817536776,11.197718021493882,0.16666666666666666
87 changes: 87 additions & 0 deletions scripts/Assets/tables/mlinput/2016/03/19/000000_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
02f0a19c-4121-4996-b2e2-a529a8e737ab,1,2016-03-19 22:21:25,0.0,0.0,0.0
05db1563-c0c0-47be-a114-808d0f9c7435,1,2016-03-19 08:10:53,0.0,0.0,\N
09229929-3d12-4b08-b7ff-c6404a3a9698,1,2016-03-19 20:30:01,0.0,0.0,1.0
0bdc6eab-fe13-4b10-86de-da622ee11b0f,1,2016-03-19 20:30:15,0.0,0.0,0.0
0bf56b26-4d3f-4fbd-80fa-bd7287301cdc,1,2016-03-19 20:30:03,0.0,0.0,\N
102af4de-72ca-4023-b574-936057ea0d98,1,2016-03-19 22:21:24,0.0,0.0,\N
135de4f7-8365-4548-9ff1-3f224ccc240e,Twitter:19249356,2016-03-19 23:21:18,1439.193223928764,106.39862154495549,\N
19ccdb5f-41c3-4b91-8dbb-69275c772a6a,Facebook:979553468780247,2016-03-19 00:51:36,1275.9591664353586,106.49144316030652,0.05555555555555555
27e39c5b-e333-422c-8717-6fa01342f6b3,Twitter:19249356,2016-03-19 20:06:44,807.0,32.0,0.5
27f01ca7-0bfa-4dd6-bf2a-689399335360,1,2016-03-19 20:31:15,0.0,0.0,0.0
288fe3a6-6af0-435e-b01b-79f33824f667,Facebook:108531336210491,2016-03-19 00:34:33,1034.1655385984272,50.886567495599174,0.008333333333333333
2b893449-0dfc-4c6d-a1d1-2f0c7752867f,1,2016-03-19 17:06:50,0.0,0.0,0.0
2d67bdb9-49df-429c-b1c1-bfa2b1850f40,1,2016-03-19 16:11:16,0.0,0.0,0.0
318f8f3f-2399-4775-8795-87561ee5b0c1,Facebook:160614340995675,2016-03-19 03:58:34,898.9484134253756,177.55069698539626,0.0
324e0f75-d835-4e70-9366-8662a831145e,Facebook:203538940012375,2016-03-19 00:30:01,1020.2560957600479,193.07054899539702,0.04065040650406504
335fd0c4-bb7f-42d7-85b8-6d7f89b3c62f,1,2016-03-19 19:57:59,0.0,0.0,1.0
3518243b-58b0-4a5f-bedf-8a5ea2c86f9a,1,2016-03-19 20:30:27,0.0,0.0,1.0
35fdc5de-e8a2-4173-bb56-3e8c75ad229f,1,2016-03-19 22:21:03,0.0,0.0,\N
39f11bb6-9d13-43b6-b73a-c6863f2f7a38,1,2016-03-19 16:10:25,0.0,0.0,0.0
452d71ba-967c-431b-a801-128b39d1740a,1,2016-03-19 08:37:36,0.0,0.0,\N
47f40c3e-6aa5-4da4-86a1-4cc786796843,1,2016-03-19 08:37:21,0.0,0.0,0.0
48c4544c-4e56-4606-929b-e998b7356ef5,Twitter:19249356,2016-03-19 22:54:43,1203.3833968490862,80.52059789234113,0.2
4a806886-2fd1-41d9-9313-4965b98b2c27,1,2016-03-19 08:29:05,0.0,0.0,0.0
4b517c92-bea2-4cfa-a373-e7c19b9afcac,1,2016-03-19 21:28:05,0.0,0.0,0.0
4b7d82f4-9cb3-4b8d-9983-bf83d1fa33c8,1,2016-03-19 17:56:11,254.20623517136633,129.7707208888045,0.5
507bef68-5379-45b2-8aeb-682968d79015,1,2016-03-19 20:30:27,0.0,0.0,0.0
51eeac6a-cbb2-4054-a34a-7c9db20671ea,Facebook:203538940012375,2016-03-19 00:13:36,0.0,0.0,0.0
52ce8f00-dc36-493b-adf3-64e18dbcd4b1,1,2016-03-19 22:21:03,0.0,0.0,0.0
52faaf07-6b8c-4b9a-831e-022bb1d10282,1,2016-03-19 08:49:18,0.0,0.0,\N
53a68cb9-3967-4954-bef3-a212ea4856c9,Facebook:1047585061949223,2016-03-19 02:15:36,1026.6894369769273,169.69902769314854,0.3333333333333333
5597d06f-4451-4f04-b2ae-05898e79eb7f,1,2016-03-19 22:21:23,0.0,0.0,\N
55a7438d-bdf8-4f96-bf51-4ad05f4191cd,1,2016-03-19 21:28:18,0.0,0.0,0.0
566de02b-b8cf-4806-8e03-6691d1f6f33b,1,2016-03-19 19:56:14,0.0,0.0,1.0
5f710ba2-9f15-4470-bfe1-8fa8c5174006,Facebook:1047585061949223,2016-03-19 02:07:35,1308.7719568434852,205.05790547077987,0.25862068965517243
5f96d65a-2fd1-425d-b938-4c2bb409777f,Facebook:203538940012375,2016-03-19 22:21:20,1224.6532843824511,222.55585115601318,0.030395136778115502
64588dd6-e501-4648-bfde-c612177889fe,1,2016-03-19 16:11:50,0.0,0.0,0.0
6770de7e-e717-428c-a484-29960a9f4b10,1,2016-03-19 20:30:14,0.0,0.0,0.0
68c0c20c-eb5e-451c-99ad-e66329b7dd62,Facebook:203538940012375,2016-03-19 00:04:53,1522.304565453313,148.0906066493678,0.25
741ca0ee-c8c4-4c13-b237-540766333196,1,2016-03-19 21:28:27,0.0,0.0,\N
7a6149e0-8967-477c-b977-099d34db13a0,1,2016-03-19 16:11:01,0.0,0.0,0.0
88297fd1-3040-42dc-8656-8ed2b40a818c,Facebook:203538940012375,2016-03-19 19:44:04,832.2666663019726,59.06189917474475,0.28136200716845877
8a22e170-252f-46e3-b94c-6c07e970b312,Facebook:203538940012375,2016-03-19 00:23:16,1327.134091647623,207.64629432095396,0.022727272727272728
91086ba0-a6b8-4990-83d8-6d120466d22d,Facebook:979553468780247,2016-03-19 22:05:33,329.93347179456293,38.09842971340115,0.0
946dbd4a-765b-459d-af9f-72ad7a4bbc94,1,2016-03-19 08:14:07,0.0,0.0,0.0
96f3ce7f-f902-4f86-9cb8-f3b4e4e5bbdc,1,2016-03-19 08:22:02,0.0,0.0,0.0
98264fd3-7af5-4b35-be95-90fa718bc284,1,2016-03-19 16:10:59,0.0,0.0,0.0
9918c8c4-2427-40c4-96ce-19b6e7dfd532,1,2016-03-19 19:55:13,0.0,0.0,0.0
9963fd65-3488-4cce-b810-3967efda4577,1,2016-03-19 20:30:31,0.0,0.0,0.0
9b3fc6b7-6a2c-49ed-a197-85355d59b32c,Facebook:108531336210491,2016-03-19 03:46:33,989.2401906709566,23.993278628708474,0.0
a35d18c2-5dda-4c4d-ad9e-dd8136079ff5,Facebook:203538940012375,2016-03-19 04:34:15,1158.5214150818833,115.36884446627673,0.17647058823529413
a5e087d2-289c-4d22-ad89-97d69b208400,1,2016-03-19 21:28:45,0.0,0.0,\N
a95cc2ea-f8e4-4616-a25b-e591f720d6de,1,2016-03-19 22:21:21,0.0,0.0,\N
b08135e2-a3b4-4d61-9988-883fcc707a61,1,2016-03-19 19:56:22,0.0,0.0,0.0
b158f1d4-6376-4859-a9d6-66f1b7e70840,1,2016-03-19 16:11:35,0.0,0.0,0.0
b5580b7b-b95c-4c8c-82ee-ab9b1a598af3,1,2016-03-19 22:20:53,0.0,0.0,0.0
b5e16315-4a20-44d3-a207-ee3582271795,Facebook:1221443151217187,2016-03-19 18:18:26,1065.0734113808805,40.93509238168607,0.2222222222222222
bbeb5e77-7815-419a-9315-db887f00ba95,1,2016-03-19 22:21:11,0.0,0.0,1.0
bdacff24-3981-4acf-905b-3f2ed6582764,1,2016-03-19 16:11:38,0.0,0.0,1.0
c4ccb675-b7f9-4e51-96c0-dc24fc3a327e,1,2016-03-19 21:28:42,0.0,0.0,\N
c5aaf97f-1092-4b16-8332-28d21e0bf465,1,2016-03-19 20:30:54,0.0,0.0,0.0
c6beb9de-4231-44b0-bb26-5a03969e7d4b,Facebook:1047585061949223,2016-03-19 02:46:43,1277.4848966230484,198.8651525531811,0.3584905660377358
c8596bf1-6a8a-4186-a85d-966e8a00bce6,1,2016-03-19 20:30:58,0.0,0.0,0.0
cade5c47-6380-4c29-8116-6179db668d7b,Twitter:19249356,2016-03-19 23:26:50,1159.7060386269802,53.84239268220639,0.22093023255813954
cb3ad9cd-44b7-452e-8356-3eace54fd7d2,Facebook:203538940012375,2016-03-19 18:30:01,1307.3224504614784,135.82832059578422,0.30434782608695654
cd7ba09d-0c10-4969-8f5d-4e41b4e1f849,1,2016-03-19 21:28:36,0.0,0.0,\N
d51f0747-5c39-4b5a-a29c-62b7c46f1480,1,2016-03-19 19:56:01,0.0,0.0,0.0
d5efd317-9eb9-46da-9650-e4ba142166cb,1,2016-03-19 21:28:18,0.0,0.0,0.0
d5f4808c-4910-4160-8401-2bf028182a42,Facebook:1221443151217187,2016-03-19 22:45:52,0.0,0.0,0.0
d5f5b615-a545-4110-812c-7e02c46c16c4,1,2016-03-19 19:55:37,0.0,0.0,0.0
e0bb996e-d0f4-4748-b9f3-1cc203fd0c50,1,2016-03-19 16:11:06,0.0,0.0,\N
e1511f69-c0a2-4563-98fc-fa4c7fd90146,1,2016-03-19 19:55:50,0.0,0.0,\N
e470f3fe-b90b-43ac-8c7d-b5d174a2a5a1,1,2016-03-19 20:30:35,0.0,0.0,1.0
e756ced7-d63a-45f3-b820-bcc9678b9bbc,1,2016-03-19 19:55:50,0.0,0.0,\N
e784de92-a01e-49b1-bfd9-bdc61efe000d,1,2016-03-19 20:37:40,0.0,0.0,\N
ed216364-78cc-4c83-8c70-e2e02b5ef412,Facebook:203538940012375,2016-03-19 00:26:37,1255.0295598841362,128.8520576599708,0.0196078431372549
eef727f2-c980-404b-b29e-b19e60495779,1,2016-03-19 19:56:06,0.0,0.0,0.0
f1c7aad3-daa6-43d4-951b-931c78f2c81f,1,2016-03-19 16:11:02,0.0,0.0,0.0
f3d49a1e-abca-4081-a6f3-1738cf37bf77,1,2016-03-19 22:21:02,0.0,0.0,0.0
f4be8138-ee67-4ddc-bbd7-d0f5b752cbd0,1,2016-03-19 21:28:48,0.0,0.0,0.0
f73354b1-5bb3-4f61-85a6-92b950d70481,Facebook:108531336210491,2016-03-19 14:55:43,491.5629920898315,143.62849861218248,0.1811320754716981
f96142e7-1ecc-4373-a7b7-351845fec052,1,2016-03-19 08:37:16,0.0,0.0,0.0
fa30cf97-6af6-4b70-9ca4-44f75d446f41,1,2016-03-19 21:28:17,0.0,0.0,0.0
fbb1a1e1-29e4-404b-aec7-fcca09592e72,1,2016-03-19 19:55:42,0.0,0.0,0.0
fc677760-557c-40b8-b328-b45dcd833f22,Facebook:1047585061949223,2016-03-19 02:19:26,913.5,166.0,0.0
fd31c6d9-3432-47ba-b6bd-392bae1029e3,1,2016-03-19 19:56:10,0.0,0.0,0.0
fd7b0769-cdc6-4792-8805-1c282fe6194c,Facebook:1221443151217187,2016-03-19 18:05:32,703.527318232917,27.770262872360426,0.0
fff6151f-dfb7-400c-a112-1d0b1d401e41,1,2016-03-19 16:14:35,0.0,0.0,0.0
41 changes: 41 additions & 0 deletions scripts/Assets/tables/mlinput/2016/03/20/000000_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
003fc3f0-bd9b-4673-bd33-a343940a326d,1,2016-03-20 08:11:06,0.0,0.0,1.0
14cb073b-f148-464e-96a1-6548208824f8,1,2016-03-20 16:10:57,0.0,0.0,0.0
24c84e2d-ccd3-4e5d-af45-cf4361911c1d,1,2016-03-20 16:10:52,0.0,0.0,1.0
2a203a61-9464-4682-8508-5b70baede7f7,1,2016-03-20 08:10:25,0.0,0.0,\N
322ecd58-f903-4e95-ae8f-cb6d690ea5ba,Facebook:203538940012375,2016-03-20 00:24:58,863.4476002999502,102.93757525608838,0.1952191235059761
3311f8ea-a8e4-4c3e-a0d2-2bd4943f6183,1,2016-03-20 16:11:09,0.0,0.0,0.0
3677a316-2e44-4f4c-8294-e20684ec3e17,Facebook:203538940012375,2016-03-20 07:58:24,1015.643805229149,194.64778767218172,0.3
38056345-39a2-474d-b5e4-18b978647470,Facebook:203538940012375,2016-03-20 07:59:38,1230.635246980644,176.77748096909227,0.0
522b5c31-0750-4c61-8f68-42bcd6af123b,Facebook:203538940012375,2016-03-20 06:47:56,1129.869619922888,124.64693347488078,0.0
69947721-da34-4c8f-af4b-54e4f7e69f00,Facebook:203538940012375,2016-03-20 08:46:23,730.4264619566645,19.076644551569828,0.5
7628c48a-12bc-4fef-8b9f-9e2c32739d7c,1,2016-03-20 16:10:35,0.0,0.0,0.0
79cad820-1ead-494b-be15-1a65bf342db8,Facebook:203538940012375,2016-03-20 07:37:35,1403.8282681822657,192.62464895616947,0.3
7a4f1137-a99a-48e7-bfa3-6a1037bcb449,1,2016-03-20 08:11:09,0.0,0.0,1.0
7ddcffb7-1351-46ea-bd62-63232a541625,Twitter:19249356,2016-03-20 23:06:20,1154.826261687427,204.21953059322132,0.13823529411764707
81200e11-e4f8-40fc-a1cc-14848c388e46,1,2016-03-20 22:15:36,0.0,0.0,\N
814609ee-7b7a-4d32-9492-d2b2fddf49f8,Facebook:203538940012375,2016-03-20 17:41:23,1367.1717191689165,34.55470591440513,0.3333333333333333
86e6e92b-a239-4e72-a8b2-802dafd1ff8a,Facebook:979553468780247,2016-03-20 22:54:20,1356.1098846958516,126.66263838458674,0.014388489208633094
878e22d4-c451-4e0a-ac42-bf60b1ce9237,Facebook:203538940012375,2016-03-20 08:45:35,377.87328857994476,10.842303978193728,0.0
8b8a8351-e0e6-489f-a3e3-8f0e2d6e7025,1,2016-03-20 02:00:38,0.0,0.0,0.0
911a01c5-a5a4-4d12-988d-23fa44c88953,1,2016-03-20 08:10:23,0.0,0.0,0.0
976a8901-e800-4c9d-a364-68fadf8f5ae5,1,2016-03-20 08:10:24,0.0,0.0,\N
98346ebc-96e7-4f8a-baf7-633a1e88344b,1,2016-03-20 08:10:50,0.0,0.0,0.0
a0eb0031-c4af-4049-b225-798e3b08c8e1,Facebook:203538940012375,2016-03-20 06:07:02,1247.2508898462338,180.18914753360949,0.2962962962962963
af3beb3a-4238-43e5-9a23-f6dc43e4ed10,Facebook:203538940012375,2016-03-20 08:45:50,438.4281583110282,11.180339887498949,0.5
b0132ff6-8e92-4d7b-a6b3-0ceaef3f9afb,1,2016-03-20 00:03:00,0.0,0.0,0.0
b1bdbefa-2833-4225-bde2-550041fbdaea,1,2016-03-20 16:11:17,0.0,0.0,0.0
b58afdba-f60b-42ae-bca9-8c4d7f74c6be,1,2016-03-20 16:10:56,0.0,0.0,0.0
b8a3500c-89df-47a0-9a22-381e5acf3575,1,2016-03-20 08:10:59,0.0,0.0,0.0
b94dca78-6859-47f5-bef1-a7f679bbaf89,1,2016-03-20 16:10:47,0.0,0.0,1.0
c05899dd-267b-453b-b244-69445f71e3ce,1,2016-03-20 08:10:28,0.0,0.0,0.0
c08d750e-d7e5-4afc-9514-dfb258f01a94,1,2016-03-20 08:11:01,0.0,0.0,1.0
c0dcda52-a310-4632-ab77-94e783a8b2f0,Facebook:203538940012375,2016-03-20 09:23:19,1203.6208336146026,32.50337114519768,0.125
c6e149b4-ff1e-45d5-bbed-26bf42c5c115,Facebook:203538940012375,2016-03-20 06:45:49,1314.5186262798125,154.01090606655845,0.3939393939393939
d2f1b183-44e9-48fa-8c29-a8374c797490,1,2016-03-20 16:10:37,0.0,0.0,0.0
d7455553-bce5-4207-ab91-94e650562f81,1,2016-03-20 08:10:44,0.0,0.0,\N
da877def-9408-4852-b71b-bf1b109c105c,1,2016-03-20 08:10:47,0.0,0.0,0.0
e6f97648-f834-42a6-8451-53651bec0eed,Facebook:203538940012375,2016-03-20 08:43:53,1201.5935419267198,65.98297918150307,0.3157894736842105
f064e7f8-8e35-48e7-aa66-cc936486f9a2,Facebook:10156612592435524,2016-03-20 14:47:04,1021.2743754066578,27.507708244341824,0.23076923076923078
f09627ce-5efc-4977-8172-855545334c58,1,2016-03-20 16:10:39,0.0,0.0,0.0
f21413fb-d216-47e4-8b72-bf2ea7a2e7ef,1,2016-03-20 16:11:23,0.0,0.0,0.0
f50dad83-430e-4e19-a959-647ba75bdfb1,Facebook:203538940012375,2016-03-20 08:46:03,423.55456817536776,11.197718021493882,0.16666666666666666
20 changes: 13 additions & 7 deletions scripts/Bash/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ DEPLOYMENTNAME="scenario_complete-$(date -u +%m%d-%H%M)"
TEMPLATEFILE="../ARM/scenario_complete.nocomments.json"
PREREQ_TEMPLATEFILE="../ARM/prerequisites.nocomments.json"
PARAMETERSFILE="../ARM/scenario_complete.params.nocomments.json"
ASSETS_DIRECTORY="../../src/HDInsight"
HIVE_SCRIPTS_DIRECTORY="../../src/HDInsight"
SAMPLE_DATA_DIRECTORY="../Assets"
SQLSERVER_DDL_SCRIPT="../../src/SQLDatabase/MyDrivingDB.sql"
SQLANALYTICS_DDL_SCRIPT="../../src/SQLDatabase/MyDrivingAnalyticsDB.sql"

Expand Down Expand Up @@ -129,13 +130,13 @@ echo "* Uploading files to blob storage..."
echo "**************************************************************************************************"
# uploads files in a specified directory
uploadAssets() {
for i in "$1"/*;do
for i in "$4"/*;do
if [ -d "$i" ];then
uploadAssets "$i"
uploadAssets $1 $2 $3 "$i" $5
elif [ -f "$i" ]; then
blobName=${i: ${#ASSETS_DIRECTORY} + 1}
blobName=${i: ${#5} + 1}
echo "Uploading file '$blobName' to blob storage..."
azure storage blob upload -q $i $ASSETS_CONTAINER_NAME $blobName
azure storage blob upload -a $1 -k $2 -q $i $3 $blobName
fi
done
}
Expand All @@ -145,8 +146,8 @@ echo "Creating the '$ASSETS_CONTAINER_NAME' blob container to store assets..."
azure storage container create $ASSETS_CONTAINER_NAME || :

# upload the assets to the container
echo "Copying the assets in '$ASSETS_DIRECTORY' to blob storage..."
uploadAssets $ASSETS_DIRECTORY
echo "Copying the hive scripts in '$HIVE_SCRIPTS_DIRECTORY' to blob storage..."
uploadAssets $AZURE_STORAGE_ACCOUNT $AZURE_STORAGE_ACCESS_KEY $ASSETS_CONTAINER_NAME $HIVE_SCRIPTS_DIRECTORY $HIVE_SCRIPTS_DIRECTORY

# create the deployment with the solution template
echo
Expand Down Expand Up @@ -180,6 +181,7 @@ eval $(echo "$OUTPUT1" | awk -F ': ' \
$2 ~ /tripdataContainerName/ {split($2, a, " "); print "export TRIP_DATA_CONTAINER_NAME=" a[3] ";"} \
$2 ~ /referenceContainerName/ {split($2, a, " "); print "export REFERENCE_CONTAINER_NAME=" a[3] ";"}')


echo
echo "**************************************************************************************************"
echo "* Initializing blob storage..."
Expand All @@ -196,6 +198,10 @@ azure storage container create $TRIP_DATA_CONTAINER_NAME -a $STORAGE_ACCOUNT_NAM
echo "Creating the '$REFERENCE_CONTAINER_NAME' blob container..."
azure storage container create $REFERENCE_CONTAINER_NAME -a $STORAGE_ACCOUNT_NAME_ANALYTICS -k $STORAGE_ACCOUNT_KEY_ANALYTICS || :

# upload the assets to the container
echo "Copying the sample data files '$SAMPLE_DATA_DIRECTORY' to blob storage..."
uploadAssets $STORAGE_ACCOUNT_NAME_ANALYTICS $STORAGE_ACCOUNT_KEY_ANALYTICS $TRIP_DATA_CONTAINER_NAME $SAMPLE_DATA_DIRECTORY $SAMPLE_DATA_DIRECTORY

# Initialize SQL databases
echo
echo "**************************************************************************************************"
Expand Down
Binary file modified scripts/Images/adding-powerbi-output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/Images/asa-powerbi-output-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scripts/Images/configuring-data-factory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scripts/Images/configuring-linked-service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scripts/Images/data-factory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/Images/ml-adding-endpoint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/Images/ml-configure-reader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/Images/ml-configure-writer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/Images/ml-deploy-web-service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/Images/ml-web-services.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/Images/sql-database-credentials.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scripts/Images/sql-databases.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scripts/Images/storage-account-credentials.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified scripts/Images/storage-account.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c32900e

Please sign in to comment.