Question: That's What I Like,Bruno Mars, 3 : 2 6 Shape of You,Ed Sheeran, 3 : 5 3 Something Just Like This,The Chainsmokers & Coldplay, 4
That's What I Like,Bruno Mars, :
Shape of You,Ed Sheeran,:
Something Just Like This,The Chainsmokers & Coldplay,:
Stay,Zedd & Alessia Cara, :
Say You Won't Let GoJames Arthur, :
It Ain't MeKygo x Selena Gomez, :
Despacito,Luis Fonsi & Daddy Yankee Featuring Justin Bieber, :
Im The One, DJ Khaled Featuring Justin Bieber, Quavo, Chance the Rapper & Lil Wayne",:
Issues,Julia Michaels,:
Humble.,Kendrick Lamar, :
Body Like A Back Road,Sam Hunt, :
Castle On The Hill,Ed Sheeran, :
Scars To Your Beautiful,Alessia Cara, :
Mask Off, Future, :
In Case You Didn't Know, Brett Young, :
Believer, Imagine Dragons, :
Redbone, Childish Gambino,:
Passionfruit, Drake, :
Slide,Calvin Harris Featuring Frank Ocean & Migos, :
If I Told You,Darius Rucker, :
Sign Of The Times,Harry Styles,:
There's Nothing Holdin' Me Back,Shawn Mendes, :
Hurricane, Luke Combs, :
How Not ToDan Shay, :
Now Or Never,Halsey, : Baltimore MD $ Brooklyn NY $ Buffalo
NY $ Harlem NY $ Newark NJ
$ Rochester NY $ Stamford CT $
Syracuse NY $ Troy NY $The data set DinosaurBBQ.txt posted on Blackboard contains data on the price of a quarter rack of
ribs at the different Dinosaur BarBQue locations. Each observation is made up of the restaurant's
city, state, and price. It is a space delimited file, but more than one observation appears on a single
line.
a Read the data into SAS, making use of informats and double trailing at signs. Print the data set
and report the resulting output.
b Read the data into R making use of the readLines strsplit and gsub functions.
Report the resulting data frame. Hint: R actually has a hard time replacing $ with gsub
since it is a special character. Try replacing the character $ instead.
c Export the data frame created in part b to an Excel spreadsheet xlsx Upload this spreadsheet
when submitting your work. You don't need to provide any output for this part.
The data set Billboard.txt posted on Blackboard consists of the song title, artist, and length of the
top radio songs for the week of June It is a comma delimited file.
a Run the following SAS program where path is your respective file path and report the output:
DATA song;
INFILE 'pathBillboardtxt DLM;
INPUT Song $ Artist $ SongLength;
RUN
PROC PRINT DATA song;
RUN;
b Alter the program so that the data set stores:
the complete song and artists names.
song length as numeric data.
Report your output.
c Export the SAS data set in part b to a tab delimited text file. Upload this file when submitting
your work. You don't need to provide any output for this part.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
