This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
# Generate a time sheet entry | |
############### | |
#!/usr/bin/perl | |
# Formats for month names | |
@months = qw( Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ); | |
@weekdays = qw( Mon Tue Wed Thurs Fri Sat Sun ); | |
# get todays date |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options nodate nonumber formdlim="-"; | |
** Change the file path to the location where the data is saved; | |
proc import datafile='C:\temp\iceCream.csv' | |
out=IceCream | |
dbms=csv | |
replace; | |
getnames=yes; | |
run; | |
/********************* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Grade | Spending | Group | Flavour | Age | Sex | Education | phu | weight | |
---|---|---|---|---|---|---|---|---|---|
7 | 7 | Less | Cherry | 12 | Male | 2-Post-Secondary | My PHU | 304.09 | |
7 | 7 | Less | Chocolate | 12 | Female | 1-Secondary School | My PHU | 330.46 | |
8 | 12 | More | Cherry | 13 | Female | 2-Post-Secondary | Ontario | 228.54 | |
9 | 10 | More | Chocolate | 15 | Male | 0-Less than SS | My PHU | 732.84 | |
7 | 1 | Less | Cherry | 12 | Female | 1-Secondary School | My PHU | 330.46 | |
7 | 10 | More | Cherry | 12 | Female | 2-Post-Secondary | Ontario | 330.46 | |
7 | 3 | Less | Chocolate | 12 | Male | 1-Secondary School | Ontario | 304.09 | |
8 | 20 | More | Rocky Road | 13 | Male | 2-Post-Secondary | Ontario | 251.87 | |
8 | 19 | More | Cherry | 13 | Female | 1-Secondary School | My PHU | 228.54 |