Re: [Rd] Retrieving data from aspx pages

From: peter dalgaard <pdalgd_at_gmail.com>
Date: Tue, 30 Oct 2012 11:04:52 +0100

On Oct 30, 2012, at 10:44 , R. Michael Weylandt wrote:

> Hi Jose,
> 
> I think this is more of an r-help question so I'm going to forward
> your question there: R-devel is really for the development of R
> itself, not development with R.

Er, no!

R help is (mainly) for helping beginners. We usually put the dividing line where the answers would become incomprehensible to many of the list readers. So compiler issues and internal C code is off-limits there, but I'd say that so is HTML and ASP. So unless there happens to be a precooked package that fits the query exactly, I'd say that it belongs here.

To wit:

"This list is intended for questions and discussion about code development in R. Questions likely to prompt discussion unintelligible to non-programmers or topics that are too technical for R-help's audience should go to R-devel, see the posting guide section."  

> 
> Cheers,
> Michael
> 
> On Mon, Oct 29, 2012 at 8:11 PM, jose ramon mazaira <jramaza_at_gmail.com> wrote:

>> Hi. I'm trying to write an application to retrieve financial data
>> (specially bonds data) from FINRA. The web page is served dynamically
>> from an asp.net application:
>>
>> http://cxa.gtm.idmanagedsolutions.com/finra/BondCenter/AdvancedScreener.aspx
>>
>> I'd like to know if it's possible to fill dynamically the web page
>> form from R and, after filling it (with the issuer name), retrieve the
>> web page, parse the data, and covert it to appropiate R objects.
>> For example, suppose I want to search data for AT&T bonds. I'd like to
>> know if it's possible, within R, to fill the page served from:
>>
>> http://cxa.gtm.idmanagedsolutions.com/finra/BondCenter/AdvancedScreener.aspx
>>
>> select the "corporate" option and fill with AT&T the field for "Issuer
>> name", ask the page to display the results, and retrieve the results
>> for each of the bonds issued by AT&T (for example:
>>
>> http://cxa.gtm.idmanagedsolutions.com/finra/BondCenter/BondDetail.aspx?ID=MDAxOTU3Qko3)
>>
>> and parsing the data from the web page.
>>
>> Thanks in advance.
>>
>> ______________________________________________
>> R-devel_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes_at_cbs.dk  Priv: PDalgd_at_gmail.com

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue 30 Oct 2012 - 10:07:40 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 30 Oct 2012 - 12:20:50 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive