08-24-2015 05:29 PM
I need some help. I need to import this dataset to a SAS dataset and I want to use as few a lines of code as possible. I would rather not write a data step to read it it. Can i use PROC IMPORT?
Who can do it?
08-24-2015 05:48 PM
Use PROC HTTP:
/* Set destination fileref */
filename csvFile "&sasforum.\datasets\current.csv";
/* Get file */
proc http method="get" out=csvFile url="https://research.stlouisfed.org/econ/mccracken/fred-databases/monthly/current.csv";
Works for me.
Need further help from the community? Please ask a new question.