The code below only loads 43 lines of the web-site data to scrape.
filename output temp; * Setup a scratch file ; %Let sub = Airport%20West; proc http url="http://reiv.com.au/market-insights/suburb/&sub" method="get" out=output; run; * Create a data set called first with one variable for the contents of the webpage called value ; data first; length suburb $ 20; suburb = "&sub"; suburb = tranwrd(suburb, "%20", " "); length value $30000; infile output _infile_ = line; input @1 value $30000.; linenum = _n_; output; label value = webpage code suburb = "Name of suburb with %20 replaced by space" linenum = Line number of code; run;
How do I get it to set aside sufficient space for up to 1000 lines of code from this website?
Thanks, Joe
... View more