Hello everyone. Can you help with is problem.
Write SAS code to:
after downloading the data files.
Please help. I was not able to find a tutorial for this. A step by step is appreciated.
The desired result is in the attached file.
You cannot merge these files. They have nothing in common and there's no basis or logic that would be correct to merge them. I suspect you misunderstood the instructions somewhere.
If you download the data (sas data set, somedata.sas7bdat) and place it in the myfolders location you created, you can access the data as follows:
*set path to permanent library;
libname myData '/folders/myfolders/';
*show summary to match Word doc;
proc means data=myData.somedata;
run;
Importing or accessing files
Merge:
@naeemahb1 wrote:
Hello everyone. Can you help with is problem.
Write SAS code to:
- Read a file called: SOMEDATA.SAS7BDAT &
- Import an Excel data file (CSV) called “CARSMPG.CSV”
after downloading the data files.
Please help. I was not able to find a tutorial for this. A step by step is appreciated.
The desired result is in the attached file.
BTW, CSV files are text files that are in a format that spreadsheet programs can read. They are not "Excel files". Searching for reading Excel files will make things much more complicated than needed.
You cannot merge these files. They have nothing in common and there's no basis or logic that would be correct to merge them. I suspect you misunderstood the instructions somewhere.
If you download the data (sas data set, somedata.sas7bdat) and place it in the myfolders location you created, you can access the data as follows:
*set path to permanent library;
libname myData '/folders/myfolders/';
*show summary to match Word doc;
proc means data=myData.somedata;
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.