Using the data provided, create a data frame called Store. Then Create a function R that will print the total of the quantity and sales for the selected category. For example if I call salesStore(Store, "Furniture"), R would print "The furniture category sold had 10 transactions, 40 items sold, totaling 3073.4 in sales.
hint: The only columns needed for this function are category, sales, and quantity.
Order Date,Ship Date,Ship Mode,Customer ID,Customer Name,Segment,Country,City,State,Postal Code,Region
12/30/17,1/5/18,Standard Class,CC-12430,Chuck Clark,Home Office,United States,Columbus,Indiana,47201,Central
12/30/17,1/3/18,Standard Class,PO-18865,Patrick O'Dor,Consumer,United States,New York City,New York,10009,East
12/30/17,1/3/18,Standard Class,PO-18865,Patrick O'Dor,Consumer,United States,New York City,New York,10009,East
12/30/17,1/3/18,Standard Class,PO-18865,Patrick O'Dor,Consumer,United States,New York City,New York,10009,East
12/30/17,1/3/18,Standard Class,EB-13975,Erica Bern,Corporate,United States,Fairfield,California,94533,West
12/30/17,1/3/18,Standard Class,EB-13975,Erica Bern,Corporate,United States,Fairfield,California,94533,West
12/30/17,1/3/18,Standard Class,JM-15580,Jill Matthias,Consumer,United States,Loveland,Colorado,80538,West
12/29/17,1/2/18,Standard Class,JG-15160,James Galan,Consumer,United States,Los Angeles,California,90049,West
12/29/17,1/2/18,Standard Class,JG-15160,James Galan,Consumer,United States,Los Angeles,California,90049,West
12/29/17,12/31/17,First Class,MC-17845,Michael Cher,Consumer,United States,New York City,New York,10035,East
12/29/17,1/4/18,Standard Class,KB-16600,Ken Brennan,Corporate,United States,Grand Rapids,Michigan,49505,Central
12/29/17,1/5/18,Standard Class,BP-11185,Ben Peterma,Corporate,United States,Anaheim,California,92804,West
12/29/17,1/2/18,Standard Class,BS-11755,Bruce Stewa,Consumer,United States,Edmonds,Washington,98026,West
12/29/17,1/2/18,Standard Class,BS-11755,Bruce Stewa,Consumer,United States,Edmonds,Washington,98026,West
12/29/17,1/1/18,Second Class,KH-16360,Katherine Hu,Consumer,United States,Louisville,Kentucky,40214,South
12/29/17,1/1/18,Second Class,KH-16360,Katherine Hu,Consumer,United States,Louisville,Kentucky,40214,South
12/29/17,1/1/18,Second Class,KH-16360,Katherine Hu,Consumer,United States,Louisville,Kentucky,40214,South
12/29/17,1/1/18,Second Class,KH-16360,Katherine Hu,Consumer,United States,Louisville,Kentucky,40214,South
12/29/17,1/1/18,Second Class,KH-16360,Katherine Hu,Consumer,United States,Louisville,Kentucky,40214,South
12/28/17,1/2/18,Second Class,KH-16690,Kristen Hasti,Corporate,United States,San Francisco,California,94110,West
12/28/17,1/4/18,Standard Class,JF-15415,Jennifer Ferg,Consumer,United States,New York City,New York,10024,East
12/28/17,1/4/18,Standard Class,JF-15415,Jennifer Ferg,Consumer,United States,New York City,New York,10024,East
12/28/17,1/4/18,Standard Class,JF-15415,Jennifer Ferg,Consumer,United States,New York City,New York,10024,East
12/28/17,1/4/18,Standard Class,JF-15415,Jennifer Ferg,Consumer,United States,New York City,New York,10024,East
12/28/17,1/1/18,Standard Class,GH-14665,Greg Hansen,Consumer,United States,Round Rock,Texas,78664,Central
12/28/17,1/1/18,Standard Class,GH-14665,Greg Hansen,Consumer,United States,Round Rock,Texas,78664,Central
12/28/17,1/2/18,Standard Class,HM-14860,Harry Marie,Corporate,United States,Seattle,Washington,98103,West
12/28/17,1/3/18,Standard Class,EH-14005,Erica Hernan,Home Office,United States,Nashville,Tennessee,37211,South
12/28/17,12/31/17,Second Class,PC-18745,Pamela Coak,Corporate,United States,Loveland,Colorado,80538,West
12/28/17,12/31/17,First Class,JG-15310,Jason Gross,Corporate,United States,Long Beach,California,90805,West
Product ID,Category,Sub-Category,Product Name,Sales,Quantity
OFF-AP-100C,Office Supplies,Appliances,Eureka The B,209.3,2
FUR-80-100,Furniture,Bookcases,Bush Westfield,323.136,4
TEC-PH-1000,Technology,Phones,Gear Head A,606,7
OFF-BI-1000,Office Supplies,Binders,Wilson Jones,52.776,3
OFF-BI-1000,Office Supplies,Binders,Cardinal Slant,13.904,2
OFF-BI-1000,Office Supplies,Binders,GBC Binding,20.72,2
OFF-FA-100C,Office Supplies,Fasteners,Bagged Rubber,3.024,3
FUR-CH-100,Furniture,Chairs,Global High-Back,393.568,4
TEC-PH-1000,Technology,Phones,Adtran,302.376,3
OFF-FA-100C,Office Supplies,Fasteners,Ideal Clamps,6.03,3
OFF-PA-100C,Office Supplies,Paper,Xerox 1915,209.7,2
FUR-FU-100,Furniture,Furnishings,Nu-Dell Exec,101.12,8
OFF-FA-100C,Office Supplies,Fasteners,Acco Glide Cl,19.6,5
FUR-FU-100,Furniture,Furnishings,Hand-Finished,68.46,2
FUR-CH-100,Furniture,Chairs,DMI Arturo C,1207.84,8
OFF-BI-1000,Office Supplies,Binders,GBC ProClick,12.53,1
OFF-AR-100,Office Supplies,Art,Panasonic KP,34.58,1
FUR-CH-100,Furniture,Chairs,Global Leather,300.98,1
FUR-CH-100,Furniture,Chairs,Harbour Creations,258.75,3
OFF-ST-1000,Office Supplies,Storage,Adjustable Desk,725.84,4
OFF-LA-1000,Office Supplies,Labels,Avery 473,72.45,7
OFF-FA-100C,Office Supplies,Fasteners,OIC Bulk Pack,13.96,4
OFF-BI-1000,Office Supplies,Binders,33.264,7
TEC-PH-1000,Technology,Phones,Cush Cases H,14.85,3
OFF-AR-100,Office Supplies,Art,Stanley Bostitch,27.168,2
FUR-BO-100,Furniture,Bookcases,Bush Westfield,78.8528,2
FUR-FU-100,Furniture,Furnishings,3M Hangers,7.4,2
OFF-ST-1000,Office Supplies,Storage,Carina Double,64.784,1
OFF-BI-1000,Office Supplies,Binders,Avery Reinforce,1.188,2
FUR-CH-100,Furniture,Chairs,Novimex Turin,340.704,6