17 Aug You have decided that you need to brush up on your script development skills, so you have pulled the following information from Wikipedia
You have decided that you need to brush up on your script development skills, so you have pulled the following information from Wikipedia to use as a sample data to show president and number of days in office from each state. Your analytics will help news channel to the presidential election pattern.
In this assignment, you will analyze USPresidents.csv file which can be found in the Course Materials folder.
Reading in Dates: You can use import or infile to import the data. If you use infile, you will need to format the date fields in your input statement. Example: read in 3 fields; StoreID, Date1, Date2. Use a : prior to the MMDDYY10.
INPUT StoreID $ Date1 :MMDDYY10. Date2 :ANYDTDTE10. ;
An example is included in your SAS Studio shared folder, READDATES.SAS