Displaying 2 results from an estimated 2 matches for "homedetail".
Did you mean:
homedetails
2011 May 28
1
newbie xml parsing question
...e information I'm interested in into R :
library(XML)
url <- "http://www.zillow.com/homes/511 W Lafayette St, Norristown, PA_rb"
doc <-doc <- htmlTreeParse(url1, isURL=TRUE)
doc
I'd like to be able to pull the following information into R
href home details string :
/homedetails/236-Arundel-Ave-Horsham-PA-19044/9933810_zpid/#{scid=hdp-site-map-bubble-address}
value for Zestimate \ Price: $239,000
Beds : 3
Baths: 1.0
Sqft :1630
I noticed all that information is in "doc". The section of doc where the
information is contained is shown below. How do I go about ext...
2011 May 30
1
Need help reading website info with XML package and XPath
...e.
I'd like to do this for the general case where I manually change the address
by modifying the url (see code below). With the url containing the address,
I'd like to be able to extract the same information each time. The specific
information I'd like to be able to extract includes the homedetails url,
price (zestimate), number of beds, number of baths, and the Sqft. All this
information is shown in a bubble on the webpage.
I use the code below to try and do this but it's not working. I know the
infomation I'm interested in is there because if I print out "doc", I see it...