Hello SAS-users.
How can i read .htm files into SAS dataset?
Is it possible?
Now I save .htm files as Excel and use proc import.
Is it the only way?
I use SAS 9.2
Thanks in advance.
Oleg.
Thanks for your reply Ksharp.
But i can not open your link.
Oleg.
Sometime back i read an interesting article of my friend Pramod @
http://pramod-r.blogspot.com/2011/02/reading-table-from-website-into-sas.html
which describes in detail
Hope this helps.
Thank you Jonam.
I will investigate your documentation.
Oleg.
Oleg, I've written a workshop for SAS Users Groups called "Untangling the World Wide Web" You can download a ZIP file containing the PDF and sample SAS code at http://goo.gl/oinmj
Hi @SASJedi, is that sample SAS code still aailable somewhere for download?
I'm looking for a way to import multiple html files and parse them using SAS, so maybe it would be helpful.
Thanks!
HTML files can extend across numerous types, layouts, etc. Did you have anything specific in mind? Like trying to import a table from a page that you find on the web?
Hi ... Rick Langston has a couple of papers that might help with reading HTML files
and creating SAS data sets ...
Creating SAS® Data Sets from HTML Table Definitions
http://support.sas.com/resources/papers/proceedings09/052-2009.pdf
and ...
Handling Large Stream Files with the @'string' Feature
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.