Re: [Rd] Retrieving data from aspx pages

From: Gabriel Becker <gmbecker_at_ucdavis.edu>
Date: Tue, 30 Oct 2012 06:08:59 -0700

I haven't used it extensively myself, and can't speak to it's current state but on quick inspection RHTMLForms seems worth a look for what you want.

http://www.omegahat.org/RHTMLForms/

~G

On Tue, Oct 30, 2012 t 5:38 AM, Paul Gilbert <pgilbert902_at_gmail.com> wrote:

> I don't know of an easy way to do this in R. I've been doing something
> similar with python scripts called from R. If anyone knows how to do this
> with just R, I would appreciate hearing too.
>
> Paul
>
>
> On 12-10-29 04:11 PM, jose ramon mazaira 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<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<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<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<https://stat.ethz.ch/mailman/listinfo/r-devel>
>>
>>
> ______________________________**________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-devel<https://stat.ethz.ch/mailman/listinfo/r-devel>
>

-- 
Gabriel Becker
Graduate Student
Statistics Department
University of California, Davis

	[[alternative HTML version deleted]]

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Tue 30 Oct 2012 - 13:11:56 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 - 13:50: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