Displaying 1 result from an estimated 1 matches for "valuationrange".
2011 Jul 05
2
Stuck ...can't get sapply and xmlTreeParse working
...################################
zdoc <-xmlTreeParse(url.zill, useInternalNode=TRUE, isURL=TRUE)
############# problem line above ##################################
f$zpid <- sapply(getNodeSet(zdoc, "//result/zpid"), xmlValue)
f$zest.low <-sapply(getNodeSet(zdoc, "//valuationRange/low"), xmlValue)
f$zest <- sapply(getNodeSet(zdoc, "//zestimate/amount"), xmlValue)
rm(zdoc)
return(f)
}
j <-sapply(new.add, FUN=hm)
print(zest)
--
View this message in context: http://r.789695.n4.nabble.com/Stuck-can-t-get-sapply-and-xmlTreeParse-working-tp3644894p36448...