Skip to content

Commit

Permalink
adaptieren von Bernds Transformationsskript auf meine Pfade (in neuer…
Browse files Browse the repository at this point in the history
… Pentaho-Datei)
  • Loading branch information
TSchiefer committed Nov 14, 2018
1 parent 5dda121 commit a9e6bc7
Show file tree
Hide file tree
Showing 3 changed files with 2,191 additions and 0 deletions.
59 changes: 59 additions & 0 deletions order_details_corrected.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
id,order_id,product_id,quantity,unit_price,discount,status_id,date_allocated,employee_id,customer_id,order_date,payment_type
27,30,34,100,14,0,2,NULL,9,27,2006-01-15 00:00:00,Check
28,30,80,30,3.5,0,2,NULL,9,27,2006-01-15 00:00:00,Check
29,31,7,10,30,16,2,NULL,3,4,2006-01-20 00:00:00,Credit Card
30,31,51,10,53,0,2,NULL,3,4,2006-01-20 00:00:00,Credit Card
31,31,80,10,3.5,0,2,NULL,3,4,2006-01-20 00:00:00,Credit Card
32,32,1,15,18,0,2,NULL,4,12,2006-01-22 00:00:00,Credit Card
33,32,43,20,46,12,2,NULL,4,12,2006-01-22 00:00:00,Credit Card
34,33,19,30,9.2,16,2,NULL,6,8,2006-01-30 00:00:00,Credit Card
35,34,19,20,9.2,0,2,NULL,9,4,2006-02-06 00:00:00,Check
36,35,48,10,12.8,0,2,NULL,3,29,2006-02-10 00:00:00,Check
37,36,41,200,9.7,0,2,NULL,4,3,2006-02-23 00:00:00,Cash
38,37,8,17,40,0,2,NULL,8,6,2006-03-06 00:00:00,Credit Card
39,38,43,300,46,0,2,NULL,9,28,2006-03-10 00:00:00,Check
40,39,48,100,12.8,0,2,NULL,3,8,2006-03-22 00:00:00,Check
41,40,81,200,3,0,2,NULL,4,10,2006-03-24 00:00:00,Credit Card
42,41,43,300,46,0,1,NULL,1,7,2006-03-24 00:00:00,NULL
43,42,6,10,25,0,2,NULL,1,10,2006-03-24 00:00:00,NULL
44,42,4,10,22,0,2,NULL,1,10,2006-03-24 00:00:00,NULL
45,42,19,10,9.2,0,2,NULL,1,10,2006-03-24 00:00:00,NULL
46,43,80,20,3.5,20,1,NULL,1,11,2006-03-24 00:00:00,NULL
47,43,81,50,3,0,1,NULL,1,11,2006-03-24 00:00:00,NULL
48,44,1,25,18,0,1,NULL,1,1,2006-03-24 00:00:00,NULL
49,44,43,25,46,0,1,NULL,1,1,2006-03-24 00:00:00,NULL
50,44,81,25,3,0,1,NULL,1,1,2006-03-24 00:00:00,NULL
51,45,41,50,9.7,0,2,NULL,1,28,2006-04-07 00:00:00,Credit Card
52,45,40,50,18.4,0,2,NULL,1,28,2006-04-07 00:00:00,Credit Card
53,46,57,100,19.5,0,2,NULL,7,9,2006-04-05 00:00:00,Check
54,46,72,50,34.8,0,2,NULL,7,9,2006-04-05 00:00:00,Check
55,47,34,300,14,0,2,NULL,6,6,2006-04-08 00:00:00,Credit Card
56,48,8,25,40,18,2,NULL,4,8,2006-04-05 00:00:00,Check
57,48,19,25,9.2,0,2,NULL,4,8,2006-04-05 00:00:00,Check
59,50,21,20,10,0,2,NULL,9,25,2006-04-05 00:00:00,Cash
60,51,5,25,21.4,11,2,NULL,9,26,2006-04-05 00:00:00,Credit Card
61,51,41,30,9.7,0,2,NULL,9,26,2006-04-05 00:00:00,Credit Card
62,51,40,30,18.4,0,2,NULL,9,26,2006-04-05 00:00:00,Credit Card
66,56,48,10,12.8,0,2,NULL,2,6,2006-04-03 00:00:00,Check
67,55,34,87,14,0,2,NULL,1,29,2006-04-05 00:00:00,Check
68,79,7,30,30,0,2,NULL,2,6,2006-06-23 00:00:00,Check
69,79,51,30,53,0,2,NULL,2,6,2006-06-23 00:00:00,Check
70,78,17,40,39,0,2,NULL,1,29,2006-06-05 00:00:00,Check
71,77,6,90,25,0,2,NULL,9,26,2006-06-05 00:00:00,Credit Card
72,76,4,30,22,0,2,NULL,9,25,2006-06-05 00:00:00,Cash
73,75,48,40,12.8,11,2,NULL,4,8,2006-06-05 00:00:00,Check
74,74,48,40,12.8,0,2,NULL,6,6,2006-06-08 00:00:00,Credit Card
75,73,41,10,9.7,0,2,NULL,7,9,2006-06-05 00:00:00,Check
76,72,43,5,46,0,2,NULL,1,28,2006-06-07 00:00:00,Credit Card
77,71,40,40,18.4,0,2,NULL,1,1,2006-05-24 00:00:00,NULL
78,70,8,20,40,0,2,NULL,1,11,2006-05-24 00:00:00,NULL
79,69,80,15,3.5,0,2,NULL,1,10,2006-05-24 00:00:00,NULL
80,67,74,20,10,8,2,NULL,4,10,2006-05-24 00:00:00,Credit Card
81,60,72,40,34.8,15,2,NULL,6,8,2006-04-30 00:00:00,Credit Card
82,63,3,50,10,0,2,NULL,4,3,2006-04-25 00:00:00,Cash
83,63,8,3,40,6,2,NULL,4,3,2006-04-25 00:00:00,Cash
84,58,20,40,81,0,2,NULL,3,4,2006-04-22 00:00:00,Credit Card
85,58,52,40,7,0,2,NULL,3,4,2006-04-22 00:00:00,Credit Card
86,80,56,10,38,0,1,NULL,2,4,2006-04-25 17:03:55,NULL
90,81,81,0,3,0,5,NULL,2,3,2006-04-25 17:26:53,NULL
91,81,56,0,38,17,0,NULL,2,3,2006-04-25 17:26:53,NULL
46 changes: 46 additions & 0 deletions products_corrected.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
supplier_ids,id,product_code,product_name,description,standard_cost,list_price,reorder_level,target_level,quantity_per_unit,discontinued,minimum_reorder_quantity,category,attachments
4 ,1,NWTB-1 ,Northwind Traders Chai ,NULL,13.5,18,10,40,10 boxes x 20 bags ,0,10 ,Beverages ,
10 ,3,NWTCO-3 ,Northwind Traders Syrup ,NULL,7.5,10,25,100,12 - 550 ml bottles ,0,25 ,Condiments ,
10 ,4,NWTCO-4 ,Northwind Traders Cajun Seasoning ,NULL,16.5,22,10,40,48 - 6 oz jars ,0,10 ,Condiments ,
10 ,5,NWTO-5 ,Northwind Traders Olive Oil ,NULL,16,21.4,10,40,36 boxes ,0,10 ,Oil ,
2;6,6,NWTJP-6 ,Northwind Traders Boysenberry Spread ,NULL,18.8,25,25,100,12 - 8 oz jars ,0,25 ,"Jams, Preserves ",
2 ,7,NWTDFN-7 ,Northwind Traders Dried Pears ,NULL,22.5,30,10,40,12 - 1 lb pkgs. ,0,10 ,Dried Fruit & Nuts ,
8 ,8,NWTS-8 ,Northwind Traders Curry Sauce ,NULL,30,40,10,40,12 - 12 oz jars ,0,10 ,Sauces ,
2;6,14,NWTDFN-14,Northwind Traders Walnuts ,NULL,17.4,23.2,10,40,40 - 100 g pkgs. ,0,10 ,Dried Fruit & Nuts ,
6 ,17,NWTCFV-17,Northwind Traders Fruit Cocktail ,NULL,29.2,39,10,40,15.25 OZ ,0,10 ,Canned Fruit & Vegetables,
1 ,19,NWTBGM-19,Northwind Traders Chocolate Biscuits Mix,NULL,6.9,9.2,5,20,10 boxes x 12 pieces,0,5 ,Baked Goods & Mixes ,
2;6,20,NWTJP-6 ,Northwind Traders Marmalade ,NULL,60.8,81,10,40,30 gift boxes ,0,10 ,"Jams, Preserves ",
1 ,21,NWTBGM-21,Northwind Traders Scones ,NULL,7.5,10,5,20,24 pkgs. x 4 pieces ,0,5 ,Baked Goods & Mixes ,
4 ,34,NWTB-34 ,Northwind Traders Beer ,NULL,10.5,14,15,60,24 - 12 oz bottles ,0,15 ,Beverages ,
7 ,40,NWTCM-40 ,Northwind Traders Crab Meat ,NULL,13.8,18.4,30,120,24 - 4 oz tins ,0,30 ,Canned Meat ,
6 ,41,NWTSO-41 ,Northwind Traders Clam Chowder ,NULL,7.2,9.7,10,40,12 - 12 oz cans ,0,10 ,Soups ,
3;4,43,NWTB-43 ,Northwind Traders Coffee ,NULL,34.5,46,25,100,16 - 500 g tins ,0,25 ,Beverages ,
10 ,48,NWTCA-48 ,Northwind Traders Chocolate ,NULL,9.6,12.8,25,100,10 pkgs ,0,25 ,Candy ,
2 ,51,NWTDFN-51,Northwind Traders Dried Apples ,NULL,39.8,53,10,40,50 - 300 g pkgs. ,0,10 ,Dried Fruit & Nuts ,
1 ,52,NWTG-52 ,Northwind Traders Long Grain Rice ,NULL,5.2,7,25,100,16 - 2 kg boxes ,0,25 ,Grains ,
1 ,56,NWTP-56 ,Northwind Traders Gnocchi ,NULL,28.5,38,30,120,24 - 250 g pkgs. ,0,30 ,Pasta ,
1 ,57,NWTP-57 ,Northwind Traders Ravioli ,NULL,14.6,19.5,20,80,24 - 250 g pkgs. ,0,20 ,Pasta ,
8 ,65,NWTS-65 ,Northwind Traders Hot Pepper Sauce ,NULL,15.8,21.1,10,40,32 - 8 oz bottles ,0,10 ,Sauces ,
8 ,66,NWTS-66 ,Northwind Traders Tomato Sauce ,NULL,12.8,17,20,80,24 - 8 oz jars ,0,20 ,Sauces ,
5 ,72,NWTD-72 ,Northwind Traders Mozzarella ,NULL,26.1,34.8,10,40,24 - 200 g pkgs. ,0,10 ,Dairy products ,
2;6,74,NWTDFN-74,Northwind Traders Almonds ,NULL,7.5,10,5,20,5 kg pkg. ,0,5 ,Dried Fruit & Nuts ,
10 ,77,NWTCO-77 ,Northwind Traders Mustard ,NULL,9.8,13,15,60,12 boxes ,0,15 ,Condiments ,
2 ,80,NWTDFN-80,Northwind Traders Dried Plums ,NULL,3,3.5,50,75,1 lb bag ,0,25 ,Dried Fruit & Nuts ,
3 ,81,NWTB-81 ,Northwind Traders Green Tea ,NULL,2,3,100,125,20 bags per box ,0,25 ,Beverages ,
1 ,82,NWTC-82 ,Northwind Traders Granola ,NULL,2,4,20,100,NULL ,0,NULL,Cereal ,
9 ,83,NWTCS-83 ,Northwind Traders Potato Chips ,NULL,0.5,1.8,30,200,NULL ,0,NULL,"Chips, Snacks ",
1 ,85,NWTBGM-85,Northwind Traders Brownie Mix ,NULL,9,12.5,10,20,3 boxes ,0,5 ,Baked Goods & Mixes ,
1 ,86,NWTBGM-86,Northwind Traders Cake Mix ,NULL,10.5,16,10,20,4 boxes ,0,5 ,Baked Goods & Mixes ,
7 ,87,NWTB-87 ,Northwind Traders Tea ,NULL,2,4,20,50,100 count per box ,0,NULL,Beverages ,
6 ,88,NWTCFV-88,Northwind Traders Pears ,NULL,1,1.3,10,40,15.25 OZ ,0,NULL,Canned Fruit & Vegetables,
6 ,89,NWTCFV-89,Northwind Traders Peaches ,NULL,1,1.5,10,40,15.25 OZ ,0,NULL,Canned Fruit & Vegetables,
6 ,90,NWTCFV-90,Northwind Traders Pineapple ,NULL,1,1.8,10,40,15.25 OZ ,0,NULL,Canned Fruit & Vegetables,
6 ,91,NWTCFV-91,Northwind Traders Cherry Pie Filling ,NULL,1,2,10,40,15.25 OZ ,0,NULL,Canned Fruit & Vegetables,
6 ,92,NWTCFV-92,Northwind Traders Green Beans ,NULL,1,1.2,10,40,14.5 OZ ,0,NULL,Canned Fruit & Vegetables,
6 ,93,NWTCFV-93,Northwind Traders Corn ,NULL,1,1.2,10,40,14.5 OZ ,0,NULL,Canned Fruit & Vegetables,
6 ,94,NWTCFV-94,Northwind Traders Peas ,NULL,1,1.5,10,40,14.5 OZ ,0,NULL,Canned Fruit & Vegetables,
7 ,95,NWTCM-95 ,Northwind Traders Tuna Fish ,NULL,0.5,2,30,50,5 oz ,0,NULL,Canned Meat ,
7 ,96,NWTCM-96 ,Northwind Traders Smoked Salmon ,NULL,2,4,30,50,5 oz ,0,NULL,Canned Meat ,
1 ,97,NWTC-82 ,Northwind Traders Hot Cereal ,NULL,3,5,50,200,NULL ,0,NULL,Cereal ,
6 ,98,NWTSO-98 ,Northwind Traders Vegetable Soup ,NULL,1,1.9,100,200,NULL ,0,NULL,Soups ,
6 ,99,NWTSO-99 ,Northwind Traders Chicken Soup ,NULL,1,1.9,100,200,NULL ,0,NULL,Soups ,
Loading

0 comments on commit a9e6bc7

Please sign in to comment.