Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,174 changes: 1,174 additions & 0 deletions .ipynb_checkpoints/Data Analysis - Final Assignment-checkpoint.ipynb

Large diffs are not rendered by default.

1,174 changes: 1,174 additions & 0 deletions Data Analysis - Final Assignment.ipynb

Large diffs are not rendered by default.

Binary file added Report.docx
Binary file not shown.
Binary file added bottles_sold_per_zipcode_map.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 bottles_sold_per_zipcode_scatter.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 bottles_sold_per_zipcode_table.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions extract_dataset_query.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
select * from finance_liquor_sales;

select count(*) from finance_liquor_sales;
-- 196

select * from finance_liquor_sales a
where 1=1
and a.date >= '2016-01-01'
and a.date <= '2019-12-31'
order by a.date;

-- SELECT COLUMN_NAME,DATA_TYPE
-- from INFORMATION_SCHEMA. COLUMNS where table_schema = 'liquorsales' and table_name = 'finance_liquor_sales'

-- select * from finance_liquor_sales
75 changes: 75 additions & 0 deletions liquor_sales_2016_2019.csv

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions popularity_zip_code.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
,zip_code,item_description,bottles_sold
0,50010,Member's Mark Spiced Rum,288
1,50022,Paramount Triple Sec,4
2,50111,Saints N Sinners Apple Pie,108
3,50131,Platinum 7x Vodka,48
4,50158,Hennessy VS,24
5,50158,Kahlua Coffee,3
6,50158,Kamora Coffee Liqueur,6
7,50263,Jagermeister w/2 Shot Glasses,84
8,50265,Kahlua Coffee,72
9,50266,Avion Silver w/Powell & Mahoney Margarita Mix,90
10,50314,Hennessy Vs Cognac,60
11,50314,Juarez Triple Sec,240
12,50314,Paul Masson Peach Grande Amber Brandy,24
13,50314,Remy Martin VSOP,24
14,50316,Hennessy VS,48
15,50317,Paul Masson Peach Grande Amber Brandy,24
16,50320,Di Amore Quattro Orange,120
17,50320,Glen Oaks Whiskey Buy the Barrel,66
18,50320,Tortilla Gold Dss,72
19,50327,Bacardi Gold Rum PET,102
20,50401,Ole Smoky Blackberry Moonshine Mini,48
21,50401,Ole Smoky Salty Caramel Whiskey,18
22,50461,Five O'clock Vodka,30
23,50501,Titos Vodka,108
24,50588,Phillips Root Beer Schnapps,4
25,50662,Ole Smoky Apple Pie Moonshine 70prf Mini,8
26,50701,Bacardi Gold,7
27,50701,Bacardi Gold Mini,4
28,50701,Dekuyper Triple Sec,2
29,50702,HA Elijah Craig Cask Barrel Proof,18
30,50702,Tortilla Gold Dss,768
31,50703,Bacardi Gold,1
32,50703,Hennessy VS,24
33,50703,Pinnacle Peach w/ Punch Dispenser,180
34,50703,Seagrams Extra Smooth,24
35,50707,Jameson,60
36,50801,Bacardi Gold Rum,5
37,51106,Juarez Triple Sec,144
38,51106,Kahlua Coffee Liqueur,240
39,51106,Kapali Coffee Liqueur,84
40,51246,Arrow Spearmint Schnapps,5
41,51247,Dekuyper Triple Sec,6
42,51360,Tortilla Gold Dss,48
43,51401,Bacardi Gold Mini,12
44,51401,Basil Hayden Dark Rye,18
45,51401,Paramount Sloe Gin,4
46,51501,99 Peppermint Mini,2
47,51501,Bacardi Gold Mini,4
48,51501,Juarez Triple Sec,48
49,51501,Kahlua Coffee,7
50,51555,Paramount Gold Rum,2
51,52001,Kamora Coffee Liqueur,4
52,52003,Bacardi Gold Rum Mini,5
53,52136,Five O'clock Vodka,2
54,52172,Kahlua Coffee,1
55,52240,Juarez Triple Sec,60
56,52240,Templeton Rye,18
57,52241,Bacardi Gold,1
58,52241,Maestro Agavero Gold,48
59,52314,Juarez Gold Dss,1560
60,52338,Cedar Ridge Single Malt Single Barrel Select,90
61,52402,Montezuma Triple Sec,216
62,52402,Paramount Gold Rum,7
63,52411,Everclear Alcohol,36
64,52556,Juarez Triple Sec,6
65,52601,Five O'clock Vodka,48
66,52601,Hennessy VS,24
67,52627,Kapali Coffee Liqueur,36
68,52732,Paramount Gold Rum,24
69,52761,Dekuyper Peachtree,4
70,52803,Everclear Alcohol,3
71,52804,Martell VSSD,2
62 changes: 62 additions & 0 deletions sales_per_store.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
,store_number,store_name,sale_dollars,sale_dollars_percentage
0,2178,Double D Liquor Store,9.74,0.015897841
1,2465,Sid's Beverage Shop,41.55,0.067818819
2,2512,Hy-Vee Wine and Spirits / Iowa City,706.32,1.152870964
3,2515,Hy-Vee Food Store #1 / Mason City,900.24,1.469391433
4,2522,Hy-Vee Wine and Spirits / Spirit Lake,324.96,0.530406825
5,2538,Hy-Vee Food Store #3 / Waterloo,807.84,1.31857413
6,2544,Hy-Vee Food Store / Marshalltown,75.54,0.123298041
7,2562,Hy-Vee Food Store / Fort Dodge,1563.84,2.552533878
8,2571,Hy-Vee Food Store #2 / Waterloo,1992.15,3.251630834
9,2576,Hy-Vee Wine and Spirits / Storm Lake,33,0.053863322
10,2587,Hy-Vee Food Store / Johnston,64.32,0.104984512
11,2591,Hy-Vee Wine and Spirits / Atlantic,23.04,0.037606392
12,2593,Hy-Vee Food Store / Carroll,737.46,1.203698354
13,2601,Hy-Vee Food Store / Fairfield,21.78,0.035549793
14,2616,Hy-Vee Food and Drug / Clinton,282.24,0.460678306
15,2619,Hy-Vee Wine and Spirits / WDM,3372.3,5.504341873
16,2633,Hy-Vee #3 / BDI / Des Moines,4124.04,6.731348356
17,2636,Hy-Vee Wine and Spirits / Hubbell,70.56,0.115169576
18,2641,Hy-Vee Drugstore / Council Bluffs,17.82,0.029086194
19,2643,Hy-Vee Wine and Spirits / Waterloo,7,0.011425553
20,2647,Hy-Vee #7 / Cedar Rapids,486,0.793259838
21,2665,Hy-Vee / Waukee,1518.72,2.478888026
22,2670,Hy-Vee Food Store / Coralville,504,0.822639832
23,2843,CVS Pharmacy #8526 / Cedar Rapids,42,0.068553319
24,3162,Nash Finch / Wholesale Food,45.72,0.074625185
25,3385,Sam's Club 8162 / Cedar Rapids,691.2,1.128191769
26,3447,Sam's Club 6432 / Sioux City,6641.04,10.83965085
27,3494,Sam's Club 6514 / Waterloo,5199.36,8.486509196
28,3524,Sam's Club 6568 / Ames,3913.92,6.388385893
29,3549,Quicker Liquor Store,237.24,0.387228321
30,3705,Liquor Locker,37.5,0.061208321
31,3772,Shop N Save #1 / Mlk Pkwy,187.2,0.305551937
32,3869,Bootleggin' Barzini's Fin,6.75,0.011017498
33,3963,Tobacco Hut #14 / Council Bluffs,33.24,0.054255056
34,3993,New Star Liquor / W 4th S / Waterloo,80.49,0.13137754
35,4057,Tequila's Liquor Store,413.28,0.674564662
36,4136,Fareway Stores #983 / Grimes,1296,2.115359567
37,4152,Food Land Super Markets,13.26,0.021643262
38,4153,Fareway Stores #067 / Evansdale,1349.4,2.202520216
39,4156,Fareway Stores #412 / Oelwein,105.04,0.171448587
40,4158,Fareway Stores #409 / Carroll,32.52,0.053079856
41,4167,"Iowa Street Market, Inc.",50.36,0.082198694
42,4291,Fareway Stores #597 / Creston,71.25,0.11629581
43,4312,I-80 Liquor / Council Bluffs,174.24,0.284398342
44,4559,Osage Payless Foods,324,0.528839892
45,4829,Central City 2,2580.6,4.212111805
46,4867,Speedy Gas N Shop,68.18,0.111284888
47,4898,Burlington Shell,206.64,0.337282331
48,4962,Hilltop Grocery,18.9,0.030848994
49,4971,Fareway Stores #138 / Pleasant Hill,2295,3.745949233
50,5003,Famous Liquors,17.98,0.02934735
51,5063,Logan Convenience Store,63.36,0.103417579
52,5102,Wilkie Liquors,11620.8,18.96772412
53,5113,"Ray's Supermarket, Inc.",206.64,0.337282331
54,5146,Fareway Stores #153 / W Des Moines,1349.28,2.202324349
55,5166,East Side Liquor and Groceries,206.64,0.337282331
56,5204,Quik Stop / Burlington,81.6,0.133189306
57,5244,The Ox & Wren Spirits and Gifts,75.12,0.122612508
58,5416,Depot Liquor & Grocery,112.47,0.183575996
59,5446,Pump N Pak,21,0.03427666
60,9001,Cedar Ridge Vineyards,3712.5,6.05962376
Binary file added sales_percentage_per_store_barchart.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 sales_percentage_per_store_barchart_py.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 sales_percentage_per_store_bubblechart.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.