It seems a bit strange to me that it is the IP address that gets white-listed, can't you ask them to white-list the URL?
Another way to access the file could just be to use a filename, e.g.:
filename covid url 'https://covidtracking.com/api/v1/states/daily.csv';
proc import datafile=covid out=test dbms=csv replace;
run;
I am not sure whether this will be any different, though.
It seems a bit strange to me that it is the IP address that gets white-listed, can't you ask them to white-list the URL?
Another way to access the file could just be to use a filename, e.g.:
filename covid url 'https://covidtracking.com/api/v1/states/daily.csv';
proc import datafile=covid out=test dbms=csv replace;
run;
I am not sure whether this will be any different, though.
Thank you for your alternate solution of using the filename URL as a better alternative. I am not sure why our security team white lists IP addresses and not URLs. Because we are a hospital system, we tend to be more conservative in our approach to Internet access. Interestingly, both approaches worked when I tested your solution this morning. When I refreshed the table to demonstrate the process is repeatable, both approaches failed to connect to the source. I am going to operate under the assumption that this is not a SAS solvable problem and that I need to work with our security team and the website administrator to understand and resolve the issue.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.