similar to: newbie xml parsing question

Displaying 18 results from an estimated 18 matches similar to: "newbie xml parsing question"

2011 May 30
1
Need help reading website info with XML package and XPath
Hi, I'm looking for help extracting some information of the zillow website. 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
2011 Jul 05
2
Stuck ...can't get sapply and xmlTreeParse working
Can't seem to get the code below working. It gets stuck on line 24 inside the function hm; comments show the line in question. The function hm is called by sapply and is at the bottom of the code. Other stuff above line 24 works correctly including the first couple of lines of the function hm. Should I be using a different apply function or am I doing something wrong with xmlTreeParse ?
2011 May 15
1
Need help with text processing / string split
I used screen scraping to extract some information and put it into a table called tbl. Now I want to modify the table a bit so the data can be more useful. Here's the code I used: library(XML) rm(list=ls()) url <- "http://webapp.montcopa.org/sherreal/salelist.asp?saledate=05/25/2011" tbl <-data.frame(readHTMLTable(url))[2:405, c(3,5,6,8,9)] names(tbl) <-
2011 Jul 10
1
Help with tryCatch
Having a hard time understanding the help files for tryCatch. Looking for a little help with the following statement which sits inside a for loop zest[i] <- tryCatch(sapply(getNodeSet(zdoc, "//zestimate/amount"), xmlValue), error=function() zest[i] <-"NA") zest is a numeric vector If the sapply statement evaluates to an error, I'd like to set the value of zest[i]
2009 Nov 16
3
R-help
I have been trying to write a function for the following problem: Suppose I have three vectors a,b,c of different lengths: e.g. a=c(a1,a2,a3,...) where a[i] form the basis of our function variables: if we define a table for example: and define the fn(x) <-function{..sum(argument)..} where x<-c(a,b,c) so that we can maximise fn(x) as:
2007 Mar 07
7
London meetup?
Following Luke''s very successful Puppet talk at GLLUG in London, which was so over-subscribed there were people queueing outside and pressing their little faces up against the glass, I wonder if the market will bear a London Puppet meet? If there are more than two or three people interested it might be worth arranging something, perhaps a pub session where we can talk about what
2014 Apr 14
2
Read.table mucks up headers
Hey All I am trying to read in a small text file using read.table. dput(sim) structure(list(ï...X. = 1:7, Y1 = c(2.5501, 4.105, 5.4687, 7.0009, 8.5066, 9.785, 11.5167), Y2 = c(2.5501, 4.105, 5.4687, 11.0009, 8.5066, 9.785, 11.5167), Y3 = c(2.5501, 4.105, 5.4687, 7.0009, 8.5066, 9.785, 15.5167)), .Names = c("ï...X.", "Y1", "Y2", "Y3" ), class =
2019 Mar 03
0
Opus.dll Download
Hey Guys, I am looking for an opus.dll file to replace the one that u currently have which appears to be limited to 64kbps music. Regards, Matthew Matters PHAZE Broadcasting Pty Ltd Direct: 03 5310 5950 Mobile: 0402 711 135 Email: admin at phazern.com.au Address: 35-37 Peel Street South Bakery Hill Victoria 3350 Licensed by the ACMA (Australian Communications & Media Authority) to
2012 Nov 03
0
AUTO: Alan Chalk has left RSA (returning 30/11/2012)
I am out of the office until 30/11/2012. Please send work related emails to laura.jordan at uk.rsagroup.com or personal emails to alanchalk at gmail.com. Note: This is an automated response to your message "R-help Digest, Vol 117, Issue 3" sent on 03/11/2012 11:00:07. This is the only notification you will receive while this person is away. Please consider the environment - Think
2003 Jun 26
3
Off Subject
Pardon me for asking this general question with regards to Samba but I've been searching and haven't found a source that would answer my question. Is there some site, list, etc, that lists companies, schools, etc, who have volunteered information that they use Samba in their day-to-day operations? This would be of great interest to us as it would show Linux/Samba to be a viable
2007 Mar 04
14
What I am doing with Puppet.
Hi, Luke asked me if I was willing to share what I am doing with the Puppet user community. So here goes: I am using puppet to manage one host right now. While that isn''t a good advertisement for Puppet''s scaling capabilities, I find it interesting because I built my single node (personal mail, svn, ci and web server) with puppet where I could (clearly there was some
2012 Feb 21
4
file and user permissions on the puppet master, best practice
Hi all. New puppet developer. Very excited. I have the agents communicating with the puppet master. I''m wondering now about best practice for file and user permissions on the puppet master. Most of my wonder probably stems from general lack of understanding in this area. I''d like to get it right though to avoid refactoring later. 1. What''s the best practice, or your
2010 Jan 20
1
possible bug
Hello, don't know if this behavior is a bug, but I want to share this information. samba server version 3.4.3 is installed on solaris10 x86 compiled with gcc Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld
2013 May 29
0
Lloyd Segal
Lloyd Segal Real Estate News 15-year mortgage rate hits record low Mortgage rates dropped again this week, with the 15-year fixed-rate loan hitting a record low, according to a report from mortgage financier Freddie Mac. The 15-year fixed rate fell to 2.56% from 2.61%. A year ago, it stood at 3.07. The most popular mortgage, the 30-year fixed rate, came in at 3.35%, a drop of 0.05 percentage
2012 Nov 06
0
Revolutions blog: October roundup
I write about R every weekday at the Revolutions blog: http://blog.revolutionanalytics.com and every month I post a summary of articles from the previous month of particular interest to readers of r-help. In case you missed them, here are some articles related to R from the month of October: Sponsorships for local R user groups from Revolution Analytics are now open to applicants worldwide:
2007 Mar 15
0
London "Puppet Muppets" meetup - Thurs 22nd March
Well I have thought of a bunch of good names, but unfortunately that is the one that seems to have stuck :D So a bunch of us will be assembling in the Old Bank of England pub in Fleet Street, London, next Thursday, at about 7pm for a social evening of drinks and chatter more or less related to Puppet. Everyone that wants to come along is welcome, whether or not you use Puppet or are interested in
2017 Jul 07
1
Gluster 3.11 on ubuntu 16.04 not working
Hi There, we have a problem with a fresh installation of gluster 3.11 on a ubuntu 16.04 server. we have made the installaton straight forward like it ist described on the gluster.org website. <http://gluster.readthedocs.io/en/latest/Install-Guide/Configure/> in fstab is: /dev/sdb1 /gluster xfs defaults 0 0 knoten5:/gv0 /glusterfs glusterfs defaults,_netdev,acl,selinux 0 0 after
2011 Nov 28
1
[LLVMdev] -Wx backing out a previous -Wno-error=x
hi there, i ran into a situation, which seemed non-intuitive to me. so i wanted to ask, whether this behavior is intentional, and/or maintained due to gcc compatibility, or non-intentional. compiling xxx.c with an explicit int n; ... n = n; ... via 'clang -Wno-error=self-assign -Werror xxx.c -o xxx' i get the following warning: " tower.c:5:7: warning: explicitly assigning a