Skip to content

Please assist me to download this data

7 messages · Christofer Bogaso, Ulrik Stervbo, Bob Rudis +1 more

#
Hi again,

I am trying to find some way to download all data historically from
this website "https://www.amfiindia.com/net-asset-value/nav-history".

Basically what I am trying to do is, I shall have a range of dates and
for each date I need to download entire dataset programmatically.

Really appreciate if experts here help.

Thanks,
#
The easiest might be to download the entire dataset and filter it
appropriately. If I follow your link and press Download, I get the option
to "Download Complete NAV Report in Text Format" and will result in this:
http://portal.amfiindia.com/NAVReport.aspx?type=0

It is not the easiest format to get into R, and you might have to
pre-process it.

Best,
Ulrik

On Mon, 25 Jul 2016 at 20:37 Christofer Bogaso <bogaso.christofer at gmail.com>
wrote:

  
  
#
Hi Ulrik, Thanks for your reply. I am aware of that link and this is a
good option. However with this approach, I can not get Data
historically. I would like to create some TS in R for each MF there.

Any other idea?

Thanks,
On Tue, Jul 26, 2016 at 12:53 AM, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote:
#
Hi Christofer,

If you can load all the data into R you don't need to query the website -
you simply filter the data by your dates.

I think that's the easiest solution.

Best wishes,
Ulrik

Christofer Bogaso <bogaso.christofer at gmail.com> schrieb am Mo., 25. Juli
2016 21:30:

  
  
#
Valid parameters for the form would be super-helpful.
On Mon, Jul 25, 2016 at 3:52 PM, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote:
#
Just have tried this :

library(RCurl)
x = postForm("https://www.amfiindia.com/net-asset-value/nav-history",
'NAV Date' = "25-Jul-2016")

However doesnt look like I get valid data, because I still can get
result for some future date as well!!

Any other option I should try?
On Tue, Jul 26, 2016 at 1:53 AM, boB Rudis <bob at rudis.net> wrote:
#
This is not an R specific. It is simply reading HTML, XML, or JavaScript.

If you are unable to specify a particular set of values that delivers this during a human mediated interaction, then you should contact the owners of the webpage rather posting here. They have a "Contact Us" page.