From jramaza at gmail.com  Mon Oct 29 21:11:44 2012
From: jramaza at gmail.com (jose ramon mazaira)
Date: Mon, 29 Oct 2012 21:11:44 +0100
Subject: [Rd] Retrieving data from aspx pages
Message-ID: <CAMd97KyY-PMRFZ=ktgqp2t-u73vs2_frcWLE31uOivU9T-j5Yg@mail.gmail.com>

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.



[Rd] Retrieving data from aspx pages
jose ramon mazaira