BREAD Data Set

DATA Step That Creates the BREAD Data Set

data bread; infile datalines dsd; attrib source length=$7 label='Source' brand length=$16 label='Brand' flour length=$15 label='Primary Flour Ingredient' type length=$20 label='Type of Bread' calories label='Calories per Slice' total_fat label='Total Fat(g) per Slice' dietary_fiber label='Dietary Fiber(g) per Slice' protein label='Protein(g) per Slice' total_carb label='Total Carbohydrates(g) per Slice'; input source $ brand $ flour $ type $ calories total_fat dietary_fiber protein total_carb; datalines; Grocery,Fabulous Breads,White,Sandwich,71,1.5,0.5,2.1,12.1 Grocery,Fabulous Breads,White,Egg,92,0.5,0.5,3.3,18.2 Grocery,Fabulous Breads,White,Buttertop,97,1.5,0,3.1,17.5 Grocery,Fabulous ...

Get SAS® Guide to Report Writing: Examples, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.