Hi,
I am working on a project where I need to import graphs from a website (one webpage has one graph) and then export that to an excel sheet with some specifications. I have never done that kind of stuff. I need someone to help me with this.
Thanks in advance.
Graphs on a website would have to be processed as images and SAS 9.* doesn't do image processing. SAS Viya does image analytics but I suspect that is not what you want.
A quick and dirty solution would be to do manual screenshots and paste them into Excel. No SAS required.
I have never needed this but I believe that you can:
- download the html page
- analyse the page to find the image's URL
- download the image file
Then you *may* be able to insert it in excel, for example by using the ODS PREIMAGE= option.
You can probably find vbs scripts on the web that do what you want, and which would be better suited.
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.