Skip to content

Instantly share code, notes, and snippets.

@mepsrajput
Last active April 14, 2022 14:52
Show Gist options
  • Select an option

  • Save mepsrajput/a98cf4043a6b4477b214525763841bea to your computer and use it in GitHub Desktop.

Select an option

Save mepsrajput/a98cf4043a6b4477b214525763841bea to your computer and use it in GitHub Desktop.
Simple proc freq
/* Import the CSV */
FILENAME Gov_C "/folders/myfolders/Assignments/governors_county.csv";
PROC IMPORT DATAFILE=Gov_C DBMS=CSV OUT=WORK.Gov_C_SAS;
GETNAMES=YES;
RUN;
/* freq procedure */
proc freq data=Gov_C_SAS;
tables state;
run;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment