Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated with faked data from @lenbust! yays!

  • Loading branch information...
commit f2ac9fef79a4e597a3b59c383fa3ec65192e7243 1 parent 1a76fe6
Philip (flip) Kromer authored
View
4 examples/contrib/jeans/data/normalized_sizes
@@ -1 +1,3 @@
-sweden 0.0,0.0,0.0,0.0,0.0,10.5263157894737,15.7894736842105,15.7894736842105,21.0526315789474,15.7894736842105,10.5263157894737,10.5263157894737,0.0
+australia 3.89650392730633,7.68519944555675,10.3342060680733,10.2109964577237,10.9348529185276,10.5806252887725,11.9205298013245,10.0723856460804,9.65655321115047,6.49930694594178,5.79085168643154,2.03295857076852,0.385030032342523
+spain 2.04194260485651,5.62913907284768,14.1832229580574,9.7682119205298,6.5121412803532,4.96688741721854,7.94701986754967,10.0993377483444,11.5894039735099,12.2516556291391,8.94039735099338,5.13245033112583,0.938189845474614
+sweden 0.957797066746483,4.99850344208321,9.15893445076324,9.99700688416642,9.39838371744987,8.59024244238252,9.87728225082311,10.9548039509129,12.4214307093685,10.2663873091889,7.96168811733014,3.89105058365759,1.52648907512721
View
1,305 examples/contrib/jeans/data/orders.tsv
1,302 additions, 3 deletions not shown
View
4 examples/contrib/jeans/data/sizes
@@ -1 +1,3 @@
-sweden 0 0 0 0 0 2 3 3 4 3 2 2 0
+australia 253 499 671 663 710 687 774 654 627 422 376 132 25
+spain 37 102 257 177 118 90 144 183 210 222 162 93 17
+sweden 32 167 306 334 314 287 330 366 415 343 266 130 51
View
4 examples/contrib/jeans/sizes.rb
@@ -6,8 +6,8 @@
module JeanSizes
class Mapper < Wukong::Streamer::RecordStreamer
- def process(code,model,time,country,j1,j2,j3, n1,n2,c1, venue,n3,n4, *sizes)
- yield [country, *sizes] if sizes.length == 13
+ def process(code,model,time,country,reg,col, n1,c1, venue,n3,n4, *sizes)
+ yield [country, *sizes]
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.