Hi, I have to search in an online db for registered manufacturers of raw materials. Can I use R for the following: I have a list with monograph numbers eg: l <- c(198, 731,355) Now I want to make a dataframe, containing the monograph number and the information listed under COS: Certificate holder, certificate number, Status, Type Is this possible with R? kind regards Bart -- View this message in context: http://r.789695.n4.nabble.com/Access-web-content-from-within-R-tp2289953p2289953.html Sent from the R help mailing list archive at Nabble.com.
Perhaps library RCurl. On Thu, Jul 15, 2010 at 7:36 AM, Bart Joosen <bartjoosen@hotmail.com> wrote:> > Hi, > > I have to search in an online db for registered manufacturers of raw > materials. > Can I use R for the following: > I have a list with monograph numbers eg: l <- c(198, 731,355) > > Now I want to make a dataframe, containing the monograph number and the > information listed under COS: > Certificate holder, certificate number, Status, Type > > Is this possible with R? > > kind regards > > > Bart > > -- > View this message in context: > http://r.789695.n4.nabble.com/Access-web-content-from-within-R-tp2289953p2289953.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
On 7/16/2010 6:00 AM, r-help-request at r-project.org wrote:> Message: 5 > Date: Thu, 15 Jul 2010 03:36:21 -0700 (PDT) > From: Bart Joosen<bartjoosen at hotmail.com> > To:r-help at r-project.org > Subject: [R] Access web content from within R > Message-ID:<1279190181074-2289953.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > Hi, > > I have to search in an online db for registered manufacturers of raw > materials. > Can I use R for the following: > I have a list with monograph numbers eg: l<- c(198, 731,355) > > Now I want to make a dataframe, containing the monograph number and the > information listed under COS: > Certificate holder, certificate number, Status, Type > > Is this possible with R? > > kind regards > > > Bart > > -- View this message in context: > http://r.789695.n4.nabble.com/Access-web-content-from-within-R-tp2289953p2289953.html > Sent from the R help mailing list archive at Nabble.com.You don't describe the format of the database. If it's HTML or XML, the scrapeR package may do the trick. Marsh Feldman
Marsh, you are absolutely right, I forget the link to the db. Actually its a webpage for each monograph number: http://extranet.pheur.org/4DLink1/4DCGI/Web_View/mono/198 http://extranet.pheur.org/4DLink1/4DCGI/Web_View/mono/731 ... As I have a list with the numbers of interest (l<- c(198, 731,355)), I can paste the webadress together with the numbers, but then I need to substract the COS info. Kind regards Bart -- View this message in context: http://r.789695.n4.nabble.com/Access-web-content-from-within-R-tp2289953p2291839.html Sent from the R help mailing list archive at Nabble.com.