Is there a way I can make use of the SAS load file (see sample below) in R?
DATA NEDS_2017_Core;
INFILE "&path\NEDS_2017_Core.csv" dsd dlm=',' LRECL = 395;
/* Define data element attributes */
ATTRIB
AGE LENGTH=3
LABEL="Age in years at admission"
AMONTH LENGTH=3
LABEL="Admission month"
AWEEKEND LENGTH=3
LABEL="Admission day is a weekend"
DIED_VISIT LENGTH=3
LABEL="Died in the ED (1), Died in the hospital (2), did not die (0)"